Hi, does someone know how to programmatically use the old crane collision avoidance system? I see all the required variables in the tree, the old GUIs still existe in the views() library... How can I call it by flexscript?
Hi, does someone know how to programmatically use the old crane collision avoidance system? I see all the required variables in the tree, the old GUIs still existe in the views() library... How can I call it by flexscript?
You can use the old crane collision logic by copying its logic into an On In Proximity trigger using a Proximity Agent System.
See Crane collision logic with Agent System - FlexSim Community
Agent Systems use an optimized bounding volume hierarchy for collision detections instead of the old brute-force collision detection system that those collision variables in the tree used to use. The only difference between the old collision detection system and a proximity agent system is that your model will run a lot faster with the new agent systems. You can still get collision triggers firing at the same simulation times; the calculation for those collisions is just faster now with the agent system instead of the brute force for-every-member-check-every-other-member-during-each-interval approach that the old collision detection system used.
Hi Phil, that's right, execution time is much better. I found this post very useful, Afonso's demo file is awesome : https://answers.flexsim.com/questions/100306/crane-collision-logic-with-agent-system.html . Still have a couple of tweaks to implement, for example : moving an idle crane away instead of passing through it!
14 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