Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
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.
Solved! Go to Solution.
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.
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.
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.
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...