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
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
Solved! Go to Solution.
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
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.