Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello,
I am trying to set OIR for a WTpart.
I want to get the name from an Enumerated List assigned to an attribute GROUP.
When I create the part I get is the Internal name of the attribute (see part of the code bellow).
My question is how I get the display name of that attribute.
......
<AttrValue id="name" algorithm="wt.rule.algorithm.BooleanBranch">
<Value algorithm="wt.rule.algorithm.EqualsTest">
<Attr id="genericType"/>
<Arg>variant</Arg>
</Value>
<Value algorithm="wt.generic.rule.VariantNameGenerator">
<Arg>{GEN:wt.enterprise.SequenceGenerator:variantnameseq:20:0}</Arg>
</Value>
<Value algorithm="wt.rule.algorithm.StringConstant"
<Attr id="IBA|GROUP"/>
</Value>
</AttrValue>
Thanks in advance
Solved! Go to Solution.
Hi @IF_10340601
You can not use display name in OIR.
But you can set the enumeration to the target parameter, and then you can set the display name based on the internal name.
PetrH
Hello @IF_10340601
Refer to https://www.ptc.com/en/support/article/CS371781
Hi @IF_10340601
You can not use display name in OIR.
But you can set the enumeration to the target parameter, and then you can set the display name based on the internal name.
PetrH