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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

does any one know how to turn off features based on relations/paremeters

MichaelDouglas
8-Gravel

does any one know how to turn off features based on relations/paremeters

I have a start part that I want to be able to taper one end both ends or no ends. the paramter in put is 0 1 or 2. the taper is grouped into 2 features


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Pro/Program will let you edit the feature list to include or suppress features in the model using IF statements. You can then insert IF statements to add one taper or both tapers. IF T= 0 or any other integer, then no taper will be added. One example would be similar to below (I don't have Creo open right now, so I may be slightly off on syntax, but you can check Help for Tools >Pro/Program.

IF T=2

ADD FEATURE (first taper)

....

END ADD

ADD FEATURE {2nd taper)

....

END ADD


ENDIF

IF T= 1

ADD FEATURE (first taper)

END ADD

ENDIF

Top Tags