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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How do I disable automatic part numbering?

mrossman
3-Visitor

How do I disable automatic part numbering?

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.

ACCEPTED SOLUTION

Accepted Solutions
KD
4-Participant
4-Participant
(To:mrossman)

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>

View solution in original post

1 REPLY 1
KD
4-Participant
4-Participant
(To:mrossman)

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>

Announcements

Top Tags