Skip to main content
18-Opal
October 18, 2017
Solved

naming and numbering via OIR

  • October 18, 2017
  • 2 replies
  • 6523 views

Hi

 

i customized a epm document in product
so, creo makes a file that numbering like 'creo-000000032'
and file name get from number

 

i have 2 questions.

 

1. can i more customized about each type?
for example, creo make a part file that numbering like 'creo-part-0000032'
other case, if creo makes a drawing file, this file get number like 'creo-2d-0000033'
is it possible? if it is posiible , please give me a way

 

2. can i makes rule that library file read is possible, but download impossible?
when i get cad data from library
i can save in my local space as back-up file[formatted xxxx.prt.1]
can i makes rule that library file read is possible, but download impossible?
it means team member didn't download libfile to team member's workspace
only read, or it can be used to create assemblies

 

thanks, good day

Best answer by BjoernRueegg

The reference link subtyping is just another possibility. The most important part to create subtypes for CAD-Documents is the xml file EPMDefaultSoftType.xml. There you need to define which CAD Type (CADASSEMBLY, CADDRAWING, CADCOMPONENT,...) is mapped to which type.

 

See also: http://support.ptc.com/help/windchill/wc110_hc/whc_en/Windchill_Help_Center/ProEWCIntegCustCADDocSoftType.html

2 replies

23-Emerald III
October 18, 2017

I do not think you can do that as parts, assemblies and drawings all use the same OIR.

If you create yor own OIR for the various file types, if possible, then you could control it.

To get the number sequence, the OIRs would need to use the same sequence number in Oracle.

 

You must be able to download files in oorder to use them in an assembly. You can put rules in place that make all library content read-only to your users.

 

17-Peridot
October 19, 2017

You can have multiple subtypes of an EPM Document. So you need a subtype for the model, the assembly and the drawing. Then you can have 3 different oir's to set a different number.

 

Search for the chapter "Soft Typing CAD Documents".

17-Peridot
October 19, 2017

by the way, there is also an utility to switch the type to a sub-type for existing cad-documents.