hello,
I now have an excel table that contains the distance between each site. Is there a way for me to directly import it into excel and create a site?
excel format:
A-B 20
A-C 5
A-D 50
B-C 20
B-D 60
...
hello,
I now have an excel table that contains the distance between each site. Is there a way for me to directly import it into excel and create a site?
excel format:
A-B 20
A-C 5
A-D 50
B-C 20
B-D 60
...
To automate the placement of object based on distance you'd need to
- Get an array of all points that need to placed
- Go through that array, create an object and place it by
- Figuring out what distances are defined for that point
- Check which "neighbors" have already been placed and calculate the position relative to those
The script console of the attached model contains a script that does everything except calculating the actual position. But that is just simple trigonometry and subsequent vector maths.
https://docs.flexsim.com/en/24.2/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/Math.html
https://docs.flexsim.com/en/24.2/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/Vec3.html
11 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 | © 2025 Autodesk Inc. All rights reserved