Skip to main content
1-Visitor
June 17, 2024
Solved

Delete a feature in creo pro program

  • June 17, 2024
  • 2 replies
  • 1373 views

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

  1. Does Creo Pro Programming allows me to delete a feature depending upon the parameter value?
  2. 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,

Best answer by tbraxton

Pro/Program does not support deletion of features, only suppression.

2 replies

tbraxton
22-Sapphire II
tbraxton22-Sapphire IIAnswer
22-Sapphire II
June 17, 2024

Pro/Program does not support deletion of features, only suppression.

Community Moderator
June 24, 2024

Hello @VS_10114209

 

It looks like you have a response from a community member. If it answered your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Community Moderation Team.