Skip to main content
1-Visitor
July 11, 2016
Question

Autonumbering of Family table instances in Creo

  • July 11, 2016
  • 2 replies
  • 4433 views

When instances are added to the Family Table, I want an auto-generated number to be created for the instances according to the CAD Document auto-numbering scheme (as defined in OIR). The member name for the instances added by the user in the design table should be overwritten by an auto-generated number, according to the existing CAD Document numbering scheme in OIR.

 

There is one preference : Workgroup Manager Client Family Table Instance Creation Auto Generate Family Table Instance Number

This is only for Autodesk, NX and Solidworks.

 

Does any similar preference exist for Creo as well?

 

Any help is appreciated.

 

Regards,

-Arindam

2 replies

16-Pearl
July 11, 2016

Hi Arindam,

If you have autonumbering configured in your OIR, then Creo family table instances will automatically use autonumbering.  No preference required.

Regards,

Allan

abasu1-VisitorAuthor
1-Visitor
July 12, 2016

Hi Allan,

Thanks for your reply.

My requirement is my own custom auto numbering. I have configured my cad document OIR to use my own custom numbering sequenece with prefix 'C'. however whenever i am creating a new family table with instances, they are not taking up that number from OIR. it is picking up the number from the name provided during creation for the generic and an autogenerated number for all the instances.

I want my generic and all the corresponding instances to follow my own numbering scheme as defined in the OIR.

I have added below entry in the OIR for my numbering:

<!-- set the number to a generated number -->

               <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator">

    <Arg>C</Arg>

                  <Arg>{GEN:wt.enterprise.SequenceGenerator:EPM_seq:7:0}</Arg>

               </AttrValue>

<!-- specify AttrConstraint tag -->

<AttrConstraint id="number" 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"/>

</AttrConstraint>

Any further help will be appreciated.

Regards,

-Arindam

1-Visitor
August 6, 2019

Hi there, there is an OIR for EPMDocument that drives CAD autonumbers but there is also one called EPMTablet I think. I think that this is the one that you need to configure for your FT to autonumber. I'm not going to test my theory as I don't want to break my system and I'm having issues with our test environment, but I'm fairly certain that is the piece that is missing.

6-Contributor
July 26, 2019

Hello 

Did you find a way to do that ??

I'm really interted by 

Thanks

1-Visitor
February 12, 2020

Hello Seb ! 

The autonumbering of family tables is managed by the OIR of the EPM Document type.

I had the same problem while staying on the CAD Document object.

A+

Greg

11-Garnet
September 1, 2022

hi all did any one get the solution.

i have the same issue in 12.0.4