question

el C avatar image
0 Likes"
el C asked el C commented

Distance between two objects

Hi,

How can I apply the distance between two Racks (or other objects) like the image I attached. Kind Regards

capture.png

FlexSim 19.2.4
racksdistancemeasurement
capture.png (176.9 KiB)
· 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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@el C,

That's what the grid lines on the model floor are for. And the distance between them gird lines depends on what you have set your model to, feet, meters, etc.


1 Like 1 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered el C commented

By Vec3 classes properties.

· 6
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

The basics are properties Object.location, Object.size and method Object.getLocation of the Object class.

1 Like 1 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

For example:

Object rack1 = Model.find("Rack1");
Object rack2 = Model.find("Rack2");

rack2.location.x = rack1.location.x + 3;
1 Like 1 ·
el C avatar image el C Matthew Gillespie ♦♦ commented ·

Thanks a lot @Matthew Gillespie @Jörg Vogel for your guidance.

0 Likes 0 ·
el C avatar image el C commented ·

Thank you, @Jörg Vogel

I'm thinking of creating an AutoCAD model and inserting it in the flexsim model so it can be faster and more convinient to place all the measurements. Do you think this is a good idea?

0 Likes 0 ·
Braydn T avatar image Braydn T el C commented ·

@el C Many of our users to that so their models can be more accurate. It does take a little bit of time to get properly sized though, and make sure when you start the model, you start it in the measurement units you made the CAD model in.

1 Like 1 ·
el C avatar image el C Braydn T commented ·

@Braydn T

Thank you for your help.

0 Likes 0 ·

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.