AnsweredAssumed Answered

Concentric Mate Lock Rotation

Question asked by Mário Nunes on Jan 18, 2021
Latest reply on Jan 23, 2021 by Mário Nunes

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.

Outcomes