question

Kari Payton avatar image
0 Likes"
Kari Payton asked Matthew Gillespie edited

Does FlexSim calculate floor utilization?

Am I able to calculate the how much space objects are using on the model floor using FlexSim?

FlexSim 17.1.3
floor plansfloor utilization
5 |100000

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

1 Answer

Jacob Gillespie avatar image
8 Likes"
Jacob Gillespie answered Matthew Gillespie edited

This script would give you the aproximate area taken up by the objects in your model:

  1. double area = 0;
  2. var objects = model().subnodes;
  3. for(int i = 3; i <= objects.length; i++) {
  4. area += objects[i].as(Object).size.x * objects[i].as(Object).size.y;
  5. }
  6. return area;
· 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.