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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Supressing Features with Relations

bhartwich
1-Visitor

Supressing Features with Relations

I have created a relation control the number of and size of weight reduction slots for a family table of parts. I would like to add a check to determine if the area available for slots is too small to diassable(supress) the pattern feature.


Searched the forum, and didn't see this.



Has anyone done this, or is this even possible anymore?



Thank


Brent


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.
3 REPLIES 3

Forgot to mention, we are running creo elements/pro 5.0, build M130

Pro/PROGRAM is the functionality that facilitates this. Features in a part or components in an assembly can be suprpressed or resumed based on some condition you set. That condition could be a parameter setting like from a layout (Pro/NOTEBOOK) or a value from an analysis feature. I believe thereare examples in PTC's Knowledgebase.


-Michael

Thanks to all that helped with this. The general concensus was to use Pro/Program. Here is how it worked


I had already created a parameter (WD) in the relation that was the working distance for the part.


Using Pro/Program (Once I found out where it was moved to) I created an if staement that looked basically like this:


IF WD > 10


ADD FEATURE


END ADD


ENDIF


So as long as the minimum length is met, the feature will be added.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags