question

anon-user avatar image
0 Likes"
anon-user asked Jason Lightfoot edited

How to fine-tune the rotation of the model

To rotate the model in any direction, right-click somewhere in the model. Then move the mouse left or right to rotate the model horizontally, or move the mouse up or down to rotate the model vertically.


However, it is difficult to fine-tune the rotation with this mouse method.


Is there a way to fine-tune the rotation of the model using the keyboard?

Is there a way to fine-tune the rotation of the model using a script


FlexSim 20.1.3
flexsim 20.1.3rotationmodel building
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

I find a 3D mouse is the best option.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Jason Lightfoot edited

You can use a script like this to set the view's rotation to any specific values you want:

  1. treenode view = activedocumentnode();
  2. viewpointrx(view).value = -90;
  3. viewpointry(view).value = 0;
  4. viewpointrz(view).value = 90;

If you don't want to rely on the 3D view being the currently active view you would use code like this to get a reference to the first open 3D view:

  1. treenode view = views().find("active>Documents/Perspective/1+/~");
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.