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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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?

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

Top Tags