Community Tip - You can change your system assigned username to something more personal in your community settings. X

Translate the entire conversation x

MANUALLY SUPPRESSED FEATURE

imoldes
12-Amethyst

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

Accepted Solutions
TomU
23-Emerald IV
(To:imoldes)

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.

View solution in original post

3 REPLIES 3
TomU
23-Emerald IV
(To:imoldes)

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.

imoldes
12-Amethyst
(To:TomU)

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.

TomU
23-Emerald IV
(To:imoldes)

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

Announcements


NEW Creo+ Topics: Real-time Collaboration

Top Tags