Is there a quick way to hide all objects, network node's connections etc.. except the flowitems, task excuetor and background ?
Or do I have to click on each object and check SHOW 3D
Please help
Raashid
Is there a quick way to hide all objects, network node's connections etc.. except the flowitems, task excuetor and background ?
Or do I have to click on each object and check SHOW 3D
Please help
Raashid
You certainly wouldn't need to do it one by one.
If I was you, I will do these steps as follow:
1.Select all the object in model;
2.Use Ctrl+LeftClick to unselect all the task executor and background (if it can be selected);
3.RightClick any object which be selected, and choose the Object Group>Add to New Group in popup menu;
4.Open the Edit Selected Objects (you can find it in Views>Edit Selected Objects), and click the Toggle 3D shapes in Switches;
You will see all the object expect flowitems and task executors can not be seen. Just RightClick anywhere in 3D views and Select the group you add, then click the Toggle 3D shapes again in Switches, if you want to make them show again.
There is a way to do it with code. The following code will hide all of the Processors in a model:
forobjecttreeunder(model()){ if(classobject(a) == node("/fixedresources/Processor", library())) switch_hideshape(a, 1); }
If you replace the '1' with a '0' it will unhide them. You could easily change the if statement to include more object classes or exclude some. The forobjecttreeunder() command is obsolete now but I don't know if there is anything that has replaced it. It basically recurses through the tree from a designated starting point and executes the code for each object one at a time. The "a" variable represents each object it finds.
4 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