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

Allow object initialization rules to branch based on "docType" (auto numbering based on docType)

Allow object initialization rules to branch based on "docType" (auto numbering based on docType)

We would like to enable auto numbering for parts and assemblies (but NOT for drawings) and also use separate numbering sequences for parts vs. assemblies.  Currently this does not seem possible due to limitations with object initialization rules. (See CS188317)  Please allow object initialization rules to branch based on "docType", and have this branching actually work directly from the CAD tool (Creo Parametric and Solidworks.)

6 Comments
Level 14

In this case, "Document Category" would have to be used rather than Object Type, since all are EPMDocument | CAD Document Type.

Level 18

docType is the internal name for "Document Category".  I'm pretty sure we're talking about the same thing...

 

Document Category.PNG

 

docType.PNG

Level 14

Subtle but important difference.

In a report for type=EPMDocument you can filter for Document Category=Drawing for example.

 

Level 18

Yes, but I believe for OIRs you have to use the internal name.  For reporting it makes sense that you would use the friendly "Name" instead of the "Internal Name".  The key point here is that Type != docType.

Windchill Types.PNG

 

 

Level 6
Branching on docType is working for Creo Elements Direct Modeling e.g. prefix docType=CADCOMPONENT : P docType=CADASSEMBLY : A But for Creo Parametric the OIR gives an error because docType=null
Community Manager
Status changed to: Acknowledged