Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Translate the entire conversation x

Using Feature ID in Relations

edwardc
4-Participant

Using Feature ID in Relations

Hello,

 

I want to use features ID's to create a note Parameter in a framework part.

 

Example:

IF EXISTS('FID_1744')
   TESTNOTE = 'TESTING123'
ENDIF

 

Is there a way to use feature id like this?

ACCEPTED SOLUTION

Accepted Solutions

are you asking whether you can use relations to do something depending on whether a particular feature exists?

If so, I think you might have to use Pro/PROGRAM methods.

View solution in original post

2 REPLIES 2
Patriot_1776
22-Sapphire II
(To:edwardc)

Syntax looks wrong.  Normally you have an embedded parameter in a feature, like if you save a measurement as a feature.  So, you need BOTH the parameter (i.e. LENGTH) AND the FID.  Also, the ' symbol looks out of place.  Maybe for programming you need them, but in relations I've never seen them.  I'm not an expert in programming in Creo though.

are you asking whether you can use relations to do something depending on whether a particular feature exists?

If so, I think you might have to use Pro/PROGRAM methods.

Announcements


NEW Creo+ Topics: Real-time Collaboration

Top Tags