hello all,
I'M trying to Make a 3d Louvered movable window shutter
How can we do for reset position of panel coMponent?
3d initialisation position and rotate
Moderator: Benj
3d initialisation position and rotate
- Attachments
-
- PersiennesFlowcode.zip
- source code with 3dMesh
- (119.95 KiB) Downloaded 374 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 3d initialisation position and rotate
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: 3d initialisation position and rotate
thank you very Much...My probleM is solved...
with "Panel -> Position -> Get" to save positions
and "Panel -> Position -> Set" ro restore positions
regards
with "Panel -> Position -> Get" to save positions
and "Panel -> Position -> Set" ro restore positions
regards
- Attachments
-
- PersiennesFlowcodeSolved.zip
- (120.48 KiB) Downloaded 403 times