Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
We are importing cad files into PDMLink for a project which will modify an existing design, and we want to maintain the numbering scheme used by the old project. How do I disable the auto generated part numbers in PDMLink 10.1.
Our company currenlty doesn't have any trained admins so I need the dumbed down version, PDMLink is installed on Red Hat Enterprise Linux 6.2.
Thanks for the help.
Solved! Go to Solution.
In OIR for your part change the Attribute constraint for number like this
<AttrConstraint id="number" algorithm="wt.rule.algorithm.BooleanBranch" ignore="false" force="false" final="false">
<Value algorithm="com.ptc.core.rule.server.impl.IfContainerTypeEqualsProjectTest"/>
<Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/>
</Value>
<Value algorithm="wt.rule.algorithm.BooleanBranch">
<Value algorithm="wt.rule.algorithm.StringEqualsTest">
<Attr id="endItem"/>
<Arg>true</Arg>
</Value>
<Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"/>
<Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<!--
<Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/>
<Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/>
-->
</Value>
</Value>
</AttrConstraint>
In OIR for your part change the Attribute constraint for number like this
<AttrConstraint id="number" algorithm="wt.rule.algorithm.BooleanBranch" ignore="false" force="false" final="false">
<Value algorithm="com.ptc.core.rule.server.impl.IfContainerTypeEqualsProjectTest"/>
<Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/>
</Value>
<Value algorithm="wt.rule.algorithm.BooleanBranch">
<Value algorithm="wt.rule.algorithm.StringEqualsTest">
<Attr id="endItem"/>
<Arg>true</Arg>
</Value>
<Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"/>
<Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<!--
<Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/>
<Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/>
-->
</Value>
</Value>
</AttrConstraint>