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

I've made this tool for myself: 

mat_hijs_0-1721729014610.png

I can optionally enter a sub component name in case I want to constrain a subassembly using the planes in a sub component of that subassembly. Further I can enter the names of the work features in the first and second component that should be constrained together, the constraint type and the offset. When clicking OK I get prompted to select component 1, then component 2 and the constraints are made. Then it prompts me to select component 1 again, then component 2 and so on until I press Esc.

 

So it is definitely possible to make something like this. I would suggest to start by creating some ilogic rules to become familiar with constraining components by code and then moving it over to an add-in where you can add a user interface to make it easy to use.