Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program states in drawing mode

  • Thread starter Thread starter willwad
  • Start date Start date
Status
Not open for further replies.
W

willwad

Guest
Does anyone know if you can execute a state in a drawing based off of the value of a parameter?



For instance, I have a boolean parameter called Test. When it is set to yes, I want the drawing to execute State Test. Is this possible to do?
 
In the drawing, edit the program (Advanced > Program > Edit Program) and add:



if Test=yes

set state Test

endif



Then change the value of Test and regen the drawing.



Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top