Delete a feature in creo pro program
I have a question regarding the deletion of a feature in Creo Pro Programming.
I have created a parameter called BOSS and I am trying to run the below code.
IF BOSS==YES
DELETE FEATURE (initial number 😎
INTERNAL FEATURE ID 123
PARENTS = 2(#1) 6(#3) 4(#2)
ENDIF
I am able to delete the feature irrespective of the value I give to BOSS Parameter.
The questions are as follows
- Does Creo Pro Programming allows me to delete a feature depending upon the parameter value?
- If the above question holds good what is the correct syntax to use the delete command?
Suppression is happening if I try to use the else or add statements but I want deletion.
Thank You,

