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