question

Patrick Cloutier avatar image
1 Like"
Patrick Cloutier asked Arun Kr commented

Hide all flowitems to speed simulation run

Is there a way to hide all flowitems from the model to speed the run? I know it can be done in each object by unchecking "show content" but what if I want to do it only for a couple of runs and then come back to seeing the items it would have to be a global "hide flowitems" or something.

I've hidden the content of flowitems crates by unchecking "show content" in the crate flowitem properties but I need to hide/unhide the crates themselves.

I tried closing the model window view but that doesn't speed the run because I think the software still draws the items? Not sure why though.

FlexSim 16.0.1
flowitemsrun timehide
5 |100000

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

Jeff Nordgren avatar image
3 Likes"
Jeff Nordgren answered Brandon Peterson commented

The very easiest way would to be close the 3D model window and then run your model. You can open it back up when the model has finished.

If the 3D view window is closed, there is nothing to draw. If closing the 3D window does not speed up your model, then it is probably not a video issue. It would be something in the model itself slowing it down, not the drawing of objects.

· 4
5 |100000

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

Patrick Cloutier avatar image Patrick Cloutier commented ·

That's what I don't understand. Hiding the content of container flowitems sped the model by a factor of 100. I thought hiding the container flowitems themselves would speed even more. But since closing the model window doesn't speed the run at all so maybe hiding the items wouldn't make a difference.

I have about 2000 container flowitems in the model. Maybe that is not a large number compared to drawing all of their content so that's why I got all the speed increase I could get when hiding their content. There are about 300 parts per container. Meaning I would have 2000x300 items to draw if I didn't hide the content.

And I do have a lot of code running even when the model view is closed. So thanks. I think I have the answer.

0 Likes 0 ·
Brandon Peterson avatar image Brandon Peterson ♦ Patrick Cloutier commented ·

Certain objects will do the calculations for positioning the items inside of themselves when items enter and leave. It is possible that these calculations are being done even when the 3D view is closed but are being skipped when you hide the object's contents.

0 Likes 0 ·
Patrick Cloutier avatar image Patrick Cloutier commented ·

By the way should my comment have been a reply or a comment? Not sure how this works.

0 Likes 0 ·
Adrian Haws avatar image Adrian Haws Patrick Cloutier commented ·

Yes Patrick, that was perfect as a comment. Thank you!

0 Likes 0 ·
Adrian Haws avatar image
3 Likes"
Adrian Haws answered Arun Kr commented

There is also a way to hide all flowitems in the Flowitem Bin icon just below the top menu, then clicking the Properties menu for the item your model creates and unselecting "Show 3D Shape" and "Show Contents" in the General tab.


animation.gif (1.0 MiB)
· 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.

Arun Kr avatar image Arun Kr commented ·

Good idea Adrian

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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