Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Program states in drawing mode

willwad

New member
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
 

Sponsor

Articles From 3DCAD World

Back
Top