Constraints and parts (occurrences) from a programmer's point of view

Top  Previous  Next

Inside an AssemblyDocument (or rather an AssemblyComponentDefinition) Occurrences and Constraints can be imagined like this:




You can see that occurrences of parts are "constrained" together by constraints. "Ball" and "Chain" are constrained by the constraint number 1, called "Mate:1"


You can also see that constraint number 4 has a user selected name, "Hold_Me".


When you are programming it might be good to name your constraints so that you can easily pick the one you are looking for, rather than having to remember the indices or the standard names.





Text, images and diagrams © 2021 Owen F. Ransen. All rights reserved. (But copy the source code as much as you want!)