Page 1 of 1

3d initialisation position and rotate

Posted: Tue Mar 21, 2017 5:42 pm
by Camille
hello all,
I'M trying to Make a 3d Louvered movable window shutter
How can we do for reset position of panel coMponent?

Re: 3d initialisation position and rotate

Posted: Tue Mar 21, 2017 5:50 pm
by Benj
Hello,

The most simplest way is to select the component and adjust the XYZ coordinates on the position tab of the properties window.

If the item is on the panel and then moved during a simulation, when the simulation stops you can left click the panel and press control + z and this should restore the items position to before the simulation was started.

Another more advanced way is to record the initial position using the "Panel -> Position -> Get" API function and storing the position into a handle variable. Then create a simulation stop event macro and inside this use the "Panel -> Position -> Set" API function to automatically restore the initial position for you when the simulation ends.

Re: 3d initialisation position and rotate

Posted: Tue Mar 21, 2017 9:13 pm
by Camille
thank you very Much...My probleM is solved...
with "Panel -> Position -> Get" to save positions
and "Panel -> Position -> Set" ro restore positions
regards