Skip to main content
1-Visitor
February 28, 2013
Solved

How do I disable automatic part numbering?

  • February 28, 2013
  • 1 reply
  • 1194 views

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.

Best answer by KD_01

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>

1 reply

KD_0112-AmethystAnswer
12-Amethyst
March 6, 2013

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>