When copying an object, the unit system is not modified

When copying an object, the unit system is not modified

__ANON_USER__1
Not applicable
11 Views
1 Reply
Message 1 of 2

When copying an object, the unit system is not modified

__ANON_USER__1
Not applicable

[ FlexSim 20.1.3 ]

I have two data for the FlexSim model.

Data 1 has a unit system of millimeters

Data 2 has a unit system of meters.


I'm trying to copy some objects from model data with a unit system of millimeters to model data with a unit system of meters.


When copying an object, the unit system is not modified,

so the object becomes 1000 times larger.


Is there any solution?

For example, are there any commands or scripts that reduce the size of the selected object to 1/1000?

Or is there a way to fix it by setting the model tree?


0 Likes
Accepted solutions (1)
12 Views
1 Reply
Reply (1)
Message 2 of 2

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

This script will make the object 1000 times smaller:

Object obj = Model.find("Processor1");
obj.size = obj.size / 1000;


Matthew Gillespie
FlexSim Software Developer

0 Likes