Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: werft60

Yes. That iLogic snippet is basically a shortcut tool, but it definitely has a standard counterpart.  You will need to drill down through the object model to get to the related methods though.  Under the AssemblyDocument, then the AssemblyComponentDefinition, then the AssemblyConstraints, is a list of similar methods for creating constraints , one of which is called 'AddMateConstraint()' (or its later version 'AddMateConstraint2(). 

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) :thumbs_up:.

If you want and have time, I would appreciate your Vote(s) for My IDEAS :light_bulb:or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)