Can someone tell me why the code to block the rotation of the mate Concentric doesn't work, but for the profile center it works very well.
Are there any problems in the api?
This code does not work (Mate Concentric)
Set swMate = swMateFeat.GetSpecificFeature2
Set swMateData = swMateFeat.GetDefinition 'feat.GetDefinition
Set swConcentricMateData = swMateData
swConcentricMateData.LockRotation = True
swMateFeat.ModifyDefinition swConcentricMateData, swAssy, Nothing
This code work (Mate a Profile Center)
Set swMate = swMateFeat.GetSpecificFeature2
Set swMateData = swMateFeat.GetDefinition
Set swProfileMateData = swMateData
swProfileMateData.LockRotation = True
swMateFeat.ModifyDefinition swProfileMateData, swAssy, Nothing
help.
thks.
I already have a solution