MANUALLY SUPPRESSED FEATURE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
MANUALLY SUPPRESSED FEATURE
Hello
Is it possible to know if a feature is manually suppressed (Not by Pro PROGRAM) in the relations part? What I am trying to do is to change some parameters values if the user suppresses certain features.
I know you can know it in Drawing Program with the command FEAT_SUPPRESSED(part_name.prt,feat_id), this command shows YES or NO, but it doesn't work in the Relations part os a model.
Thank you for your attention.
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.
Solved! Go to Solution.
- Labels:
-
General
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Not exactly what you asking for, but what about creating a parameter and then setting it's value at both the part level and feature level.
/* Part Level Relations
FEAT_X_SUPPRESSED = YES
/* Feature Level Relations
FEAT_X_SUPPRESSED = NO
As long as the feature is not suppressed, any relations after it will show the parameter value correctly. (Using this parameter in the other top level relations may require a double regen to get it to evaluate correctly.)
Sample model attached. (Creo 3.0) Suppress and resume the chamfer feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Not exactly what you asking for, but what about creating a parameter and then setting it's value at both the part level and feature level.
/* Part Level Relations
FEAT_X_SUPPRESSED = YES
/* Feature Level Relations
FEAT_X_SUPPRESSED = NO
As long as the feature is not suppressed, any relations after it will show the parameter value correctly. (Using this parameter in the other top level relations may require a double regen to get it to evaluate correctly.)
Sample model attached. (Creo 3.0) Suppress and resume the chamfer feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Tom.
Thanks for your answer.
Unfortunately I work on Creo 2.0, so I can't open your model, I tried what you said and it works, but I have one problem, when the feature is not suppressed, the model doesn't regenerate, it shows that a relation is no longer satisfied with the parameter I just created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes, unfortunately that is a limitation of this simple approach. Creo recognizes that it can not reach equilibrium with the relations and throws the warning.
Let me chew on this a bit longer...
