I want to set the position and orientation of my components in my assembly with the transform2 property.
What I have:
An assembly with 2 configurations A and B.
In configuration A I have all components constrained with normal constrains.
In configuration B I have suppressed all these constrains and fixed all components manually. Let’s suppose the components are named Child1, Child2, etc. Here I want to use transforms instead of constrains.
First I create transforms Q1, Q2, etc. and assign it in configuration B (the transforms are different from those in configuration A):
Child1.transform2 = Q1
Child2.transform2 = Q2
This seems to work. But once I add a component in my assembly, or once I change a constrain in my configuration A, every position/transform Q1, Q2, etc. in my configuration B gets lost, even the components are fixed. Getting lost means: every position of my components in config B equals config A.
If I move my components in config B manually to a different position and fix them afterwards, transforms don’t get lost from configuration to configuration.
What am I missing? Thank you in advance!