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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to use Feature ID in Relation?

jtrivedi
1-Visitor

How to use Feature ID in Relation?

How to use Feature ID in Relation?

8 REPLIES 8

I don't know why I would want to use a feature ID in a relation, since I'd be using parameters, or dimensions, etc. which are already unique in a part or assembly.

TomU
23-Emerald IV
(To:KenFarley)

Parameters can exist in many different places in a model.  It can be very helpful to be able to refer to these feature level parameters without having to map all of them back to the top level parameters first.

KenFarley
21-Topaz I
(To:TomU)

So this could mean I have parameters defined within the scope of a feature? I've used relations within a feature sketch, but I don't see any way to define parameters within a feature. The option is "grayed out" when I'm defining the feature.

The dimensions in a feature are defined as "SD1", SD2" while within the feature sketch, but they get assigned a unique dimension name automatically.

TomU
23-Emerald IV
(To:KenFarley)

So this could mean I have parameters defined within the scope of a feature?

Absolutely.  While not editing the feature, choose tools, relations, then change the pick to 'Feature' and select the feature from the model tree.  You can then create both parameters and relations inside this feature.

I've used relations within a feature sketch...

A feature can contain a sketch, but the sketch itself is not a feature.  The sketch can contain relations but it cannot contain parameters.  It will only "see" the top level model parameters.  (To be clear, the "sketch feature" can contain parameters, but the sketch itself cannot.)

Kevin
12-Amethyst
(To:KenFarley)

‌One place you find this used is when you are using measure features such as mass properties. These measure features have parameters associated with them. You can create mass property features at different points within the model. Those mass property features can have the same parameter names associated with then so you need to use the feature id to distinguish between the two values. In the PTC training one example they use is determining the change in volume within a tank. You create two measure features each with a volume parameter (they don't have to have the same name but can), however, to use the parameter in a relation you need to use the feature id.

jtrivedi
1-Visitor
(To:Kevin)

I want to use feature ID for Exclude or resume feature by using Parameter.

Like use with pro-program IF function for using suppress and resume feature.

KenFarley
21-Topaz I
(To:Kevin)

I know all too much about obtaining data from measurement features, and the perils of doing so prior to the model being "fully" regenerated.

This defining parameters within features seems problematic with respect to the "hidden" nature of the parameters. It's of a similar nature to the definition of relations "After Regeneration". You need to know they are there, or have the insight to check for them. Much frustration can occur if you're trying to apply some calculation to a parameter/dimension, and your efforts are being undone by an (unknown to you) post-regeneration relation. I've even done this to myself.

TomU
23-Emerald IV
(To:jtrivedi)

Edit:  Sorry, wrong info originally.  (That was for drawings.)

Creo Parametric Help Center

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags