Hi,
Is it possible to add a tracked variable label to an object using code?
Regards,
Arun KR
Hi,
Is it possible to add a tracked variable label to an object using code?
Regards,
Arun KR
Hi,
I managed to do it. The code is given below.
Object Queue = model().find("Queue1");//Object in which the tracked variable is made treenode tv = labels(Queue).subnodes.add(); tv.name = "Model"; TrackedVariable.init(tv, STAT_TYPE_LEVEL, 0);
Regards,
Arun KR
treenode tv = Queue.labels.assert("Model");// alternative dot syntax
6 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