I want to automate the repetitive process of creating a AGV network properties by using the script that creates a new AGV network type and sets acceleration and stuff through it.
Thanks.
I want to automate the repetitive process of creating a AGV network properties by using the script that creates a new AGV network type and sets acceleration and stuff through it.
Thanks.
You'll need something like this:
Object agvNav=Model.find("AGVNetwork"); treenode newAGVType = function_s(agvNav, "addAGVType"); applicationcommand("notifydoclistenersoncustomaction", "AGVNetwork::onAGVTypesChange"); Table speeds=Table(newAGVType.subnodes["speeds"]); speeds["Acceleration"]["Empty"]=0.5; setsdtvalue(newAGVType,"idleAmps",0.5);
setsdtvalue(newAGVType,"trailerAttachRule",1)
You can also access it as a subnode of newAGVType node.
These are the sdt/subnode names:
For future purposes, how can I know the subnode names?
17 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