Cancel
Showing results for 
Search instead for 
Did you mean: 

measure distance between object

Pioneer
Pioneer

Hi, I have a question. Could I measure distance between MUs? For example, I have source and line, source distribute MUs randomly  and I would like to know distance between MUs. Is there any tool which can do it?

Thank You for help.

3 REPLIES

Re: measure distance between object

Phenom
Phenom

Hi,

 

open the line dialog and press shift F8.

 

A contentslist  including Mu locations is displayed

 

 

 

 

Re: measure distance between object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you can use mu.frontMU to get the MU next to the MU (returns void if there is no other MU on the line in conveying direction). The distance to the next MU you can calculate with frontPos and rearPos e.g. in the entance control rear:

 

if @.frontMU /= void then
distanceFront:=@.frontMU.rearPos-@.frontPos; end; 
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: measure distance between object

Pioneer
Pioneer
Thank You for fast and professional answer.