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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Partslink autonaming rule (if boolean attribute)

ArnaudGOELZER
12-Amethyst

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

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

View solution in original post

2 REPLIES 2

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

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.

 

 

Top Tags