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

Partslink autonaming rule (if boolean attribute)

SOLVED
Highlighted

Partslink autonaming rule (if boolean attribute)

Hello,

 

I need help for creating an autonaming rule for a node (partslink). I can't write correctly a rule taking account an "if" function with boolean (yes/no)

 

Input data :
- "My part" (text)
- Attribute1 (boolean)

 

My formula :
"My part" + (attribute1==yes) ? "something" : ""

 

The second part of the formula doesn't work.

I'm trying to make him write that if the attribute1 is "yes" then write "something". Otherwise, don't write anything more.

 

Can anyone correct me ?

Regards,

Arnaud

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Partslink autonaming rule (if boolean attribute)

Hi Arnaud,

 

Currently, that feature does not support logic/arguments for Boolean Attributes. 

 

The Autonaming feature supports:

Node Name, Attribute (alone), Strings, and Attribute w/ function (only for Integers and Real Numbers)

 

Nick

2 REPLIES 2

Re: Partslink autonaming rule (if boolean attribute)

Hi Arnaud,

 

Currently, that feature does not support logic/arguments for Boolean Attributes. 

 

The Autonaming feature supports:

Node Name, Attribute (alone), Strings, and Attribute w/ function (only for Integers and Real Numbers)

 

Nick

Re: Partslink autonaming rule (if boolean attribute)

To add to Nick's response, there is a knowledge article as well,

https://www.ptc.com/en/support/article?n=CS257756

...that confirms Nick's information.