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

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

Partslink autonaming rule (if boolean attribute)

ArnaudGOELZER
14-Alexandrite

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

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.

 

 

Announcements


Top Tags