Script to Trigger a Check Box in an Item's Property Menu

Script to Trigger a Check Box in an Item's Property Menu

zach_b3
Not applicable
53 Views
1 Reply
Message 1 of 2

Script to Trigger a Check Box in an Item's Property Menu

zach_b3
Not applicable

[ FlexSim 19.1.1 ]

Hello, I have been trying to figure out how to trigger the spillage check box in a Fluid Conveyor's property menu using a line of script, but I cannot figure it out.

I have tried to use getvarnum(Model.find("FluidConveyor"), "allowspillage"); but I do not know how to set the check box to checked and unchecked using that line of script.

Thanks!

0 Likes
Accepted solutions (1)
54 Views
1 Reply
Reply (1)
Message 2 of 2

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution
setvarnum(Model.find("FluidConveyor"), "allowspillage", 1)


Matthew Gillespie
FlexSim Software Developer