- setvarnum(activity, "enabled", 1 / 0);
- // optional, to refresh the activity's icon without having to re-open the process flow
- function_s(activity, "updateIcon");
For this particular option you can find this code when you link the source to a model parameter and choose the "Enable or Disable" option.
In general, most properties are stored in the variables attribute node of objects, whose value gets changed with the command above.
For objects in the 3d model you can check the available columns in a property table to find what can be changed with the "object.setProperty()" method.
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 | © 2025 Autodesk Inc. All rights reserved