cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing Proprogram Drawing States not Executing

Highlighted
Participant

Drawing Proprogram Drawing States not Executing

Hello all,

I have a model that can have one of 2 different features that are controlled by a parameter and proprogram in the model. On the drawing side I have created 2 drawing states to add the unique dimensions to the drawing (one for each feature option). The drawing program looks like the following:

 

IF FLARE_FINISH:0 == NO
SET STATE START
ENDIF

IF FLARE_FINISH:0 == YES
SET STATE FINISH
ENDIF

 

where FLARE_FINISH:0 is the parameter in the model that controls the features in the model.

 

The day that I set this all up everything worked fine. I could switch the parameter back and forth and the model and dimensions would all change as expected. The next day upon opening the same files, one of the drawing states will not properly execute. The program says that is successfully parsed and if i edit the state and run the commands everything looks right until i regen the drawing and everything in the state disappears. The drawing program is used to set a few other states.

 

I am running Parametric 4 M080. Is this a creo bug or am I missing something?

 

Thanks in advance for your help!

Announcements