question

Mark S3 avatar image
0 Likes"
Mark S3 asked Benjamin W2 answered

How do I start the flypath by using code?

How do I start the flypath flypath by using code? I want to start the flypath while the model is running, so I can follow the path and see how the model is running.

FlexSim 19.1.2
flypath
5 |100000

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

Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

You can use the flypath() command.

For example:

// get a reference to the first open 3D view
treenode view = node("VIEW:/active>Documents/Perspective/1+/~");
// run the first flypath once
flypath(view, 1, 1);

run-flypath-by-code.fsm


5 |100000

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

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered

Try

flystart(ownerview(c));

5 |100000

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