iLogic to change Mate offset

iLogic to change Mate offset

Anonymous
Not applicable
968 Views
2 Replies
Message 1 of 3

iLogic to change Mate offset

Anonymous
Not applicable

does any one know how i would go about using ilogic to change the mate offset? 

is there some type of code like constraint.offset("mate:xxx", ##)?

0 Likes
Accepted solutions (1)
969 Views
2 Replies
Replies (2)
Message 2 of 3

blandb
Mentor
Mentor
Accepted solution

If your mate is parameter d2, Offset, or whatever name you chose, then just change the parameter say d2 = 1, 5, 0.5, etc. at the assembly level rule. For instance if that value is supposed to change based on another value:

 

If X = 3 Then

d2 = 0.5

else

d2 = 0

End if

 

Hope that helps.

Autodesk Certified Professional
Message 3 of 3

Anonymous
Not applicable

Got it - I realize now that it was a slightly silly question! I didn't think about setting the parameter itself equal to the value and was instead trying to figure out something with the mate as a whole! Thanks for your help!!

 

0 Likes