Skip to main content
1-Visitor
May 9, 2024
Solved

Creo 7.0.12.0 Distributed Batch - Running Mapkey - Drawing Backup

  • May 9, 2024
  • 1 reply
  • 2313 views

Hello, I am wondering if there is a method to use Distributed Batch to backup drawing files (and all associated assembly + part files) to a directory ?

 

I attempted this using the mapkey.ttd and then including my config.pro containing a mapkey that recorded: Save a backup (while in a drawing file) > OK > Yes to the two prompts that appeared.

 

The error I receive in the log is [-4] Error: Incomplete input data. The manual information suggests that this is due to required dependents not being retrieved, but I haven't been able to find a remedy for this (if any).

 

The mapkey sequence itself is as shown, as runs as expected in Creo Parametric.

 

mapkey bk @MAPKEY_NAMESave backup to working directory without prompt. For \
mapkey(continued) use with distributed batch;@MAPKEY_LABELInstant save backup;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdModelBackup` ;\
mapkey(continued) ~ Activate `file_saveas` `Current Dir`;~ Activate `file_saveas` `OK`;\
mapkey(continued) ~ Activate `0_std_confirm` `OK`;\
mapkey(continued) ~ Activate `storage_conflicts` `OK_PushButton`;

Best answer by MartinHanak

@LKou wrote:

Hello, my team is lacking PLM and so when making new iterations, we save backups of models and drawings to a new folder, sometimes dozens of different drawings for a single project. The process itself is very manual and sometimes files are missed, so I'm hoping to somewhat improve this if Distributed Batch could be used to perform the task using the mapkey.ttd


Hi,

If I were you I would probably solve the problem by generating trail file and running it.

trail file generator programmed by you or your IT can:

  • use the list of drawings as input
  • create code which repeats save backup action for every drawing

 

1 reply

24-Ruby III
May 10, 2024

Hi,

please explain why do you use Distributed Batch. Is it because you want to backup hundreds of drawings?

LKou1-VisitorAuthor
1-Visitor
May 10, 2024

Hello, my team is lacking PLM and so when making new iterations, we save backups of models and drawings to a new folder, sometimes dozens of different drawings for a single project. The process itself is very manual and sometimes files are missed, so I'm hoping to somewhat improve this if Distributed Batch could be used to perform the task using the mapkey.ttd

24-Ruby III
May 10, 2024

@LKou wrote:

Hello, my team is lacking PLM and so when making new iterations, we save backups of models and drawings to a new folder, sometimes dozens of different drawings for a single project. The process itself is very manual and sometimes files are missed, so I'm hoping to somewhat improve this if Distributed Batch could be used to perform the task using the mapkey.ttd


Hi,

If I were you I would probably solve the problem by generating trail file and running it.

trail file generator programmed by you or your IT can:

  • use the list of drawings as input
  • create code which repeats save backup action for every drawing