Skip to main content
1-Visitor
June 8, 2020
Solved

Using Feature ID in Relations

  • June 8, 2020
  • 2 replies
  • 2239 views

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?

Best answer by pausob

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.

2 replies

Patriot_1776
22-Sapphire II
June 9, 2020

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.

pausob19-TanzaniteAnswer
19-Tanzanite
June 10, 2020

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.