I want to set specific viewpoint in flexscript. For example,when I reset the model,the viewpoint will set behind the processor.Could you help me?Thanks a lot!
I want to set specific viewpoint in flexscript. For example,when I reset the model,the viewpoint will set behind the processor.Could you help me?Thanks a lot!
You need the reference to the view of the window (viewPointer). The viewpoint is the result of the attributes of the location (x,y,z) and rotation (rx,ry,rz) nodes in the viewsettings branch of the active view of the window.
setnodenum(viewpointx(viewPointer),1.01);
You change the window view as you like to show at reset and you note the values. Then you can write the source code at a trigger.
7 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved