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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Delete a feature in creo pro program

VS_10114209
2-Explorer

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

  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,

ACCEPTED SOLUTION

Accepted Solutions
tbraxton
22-Sapphire I
(To:VS_10114209)

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

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

2 REPLIES 2
tbraxton
22-Sapphire I
(To:VS_10114209)

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

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

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.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags