Skip to main content
1-Visitor
November 7, 2019
Question

Bulk Creo Drawing template change

  • November 7, 2019
  • 1 reply
  • 3483 views

Hello,

Need suggestion in replacing existing  Creo drawing template into new drawing template in bulk.

We have large numbers of drawing files which required to replace with new drawing template.

 

Would this work by writing micro? Please provide you suggestion.

 

Thank you

1 reply

17-Peridot
November 7, 2019

If I understand your goal - you are looking to replace/set the format on the drawings in bulk?

 

IF SO... you could write a CREOSON script to do this:

 

Basically the process would be this:

  • creo : list_files (*.drw) - get all the drawing names you want to process then loop through each <drawing name>
    1. file : erase (*.*) - clear creo session memory
    2. file : open <drawing name>
    3. drawing : set_sheet_format (format dir + format file name)
    4. file : save <drawing name>
    5. file : regenerate
    6. continue to next...

That would be one (1) way to accomplish this pretty quickly.

 

Dave

15-Moonstone
December 2, 2019

Another way would be to use B&W Smart Update (https://www.buw-soft.de/de/) or Model Processor (https://modelprocessor.inneo.com/ <~ free for current model) to do it. It's easier than a Creoson script because you need to decide wich size of Creo Format should used based on the current format.

 

Often you need also to create some parameters on the shown models and fill them with information that is inserted in the old format tables. So you need to check old formats and migrate these informations. Both mentioned tools can do it as far as I know.

 

So I have written the second one, if you need help with it, but also B&W is great and have a good and fast support for it.

 

Br,

Eike

17-Peridot
December 2, 2019

"It's easier than a Creoson script because you need to decide wich size of Creo Format should used based on the current format."

 

The above statement is NOT accurate.  CREOSON has no requirement to know the format before making the change.  (e.g. drawing : set_sheet_format has no such requirement)

 

Also - CREOSON is 100% FREE - there is no registration required, nothing to "install", and ALL functions are available (in their language of choice) - also... NO REQUIREMENT TO PAY to obtain additional results (like other functions in the API or batch processing a change across some/all of your data).

 

Dealing with parameter changes/requirements when upgrading is also trivial in CREOSON (parameter : set ... even supports wildcard changes for all models in memory) either individually or in batch mode.

 

Dave