I´ve tryed to figure out why the method .size.y returns the half of the Conveyors width but the full size of all other objects.
I´ve tryed to figure out why the method .size.y returns the half of the Conveyors width but the full size of all other objects.
Interesting. It could be that this is unintended or there may be a reason for it, I'll ask the developers if they are aware of this. I suppose for now, just take the half size into consideration for your model.
.size.y returns the value of the spatialsy attribute of the conveyor. Conveyors set that value to half of their width. Their spatialy attribute is set to the center of the conveyor's starting point. This is how the conveyor's spatial values were purposefully designed.
In 17.1, we added a Conveyor class that has a width property where you can access the conveyor's width directly:
Conveyor conveyor = model().find("Conveyor1"); return conveyor.width;
9 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved