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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

distributed batch - starts but doesn't finish the job

BR84
14-Alexandrite

distributed batch - starts but doesn't finish the job

Hi All,

 

I wanted to use distributed batch to run a mapkey to generate BOM text file of an assembly.  

It loads the first 10 models, keeps processing them, but never ends, and gives no error information.

 

My ttd. file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- 05-Oct-09 L-05-10 CHI $$1 Submitted -->
<!-- 07-Jan-10 L-05-14 CHI $$2 Remove out-of-date comment -->
<!-- 17-Feb-15 P-30-03 mtch $$3 Added group -->
<!-- 15-Jun-15 P-30-11 mtch $$4 Added save_model -->
<!-- 13-Oct-15 P-30-18 mtch $$5 Added drw to FILTER_FILE_TYPES -->

<TTD version="1.0" created_by="PTC">
<DESCRIPTION>Run a mapkey defined in a config.pro</DESCRIPTION>
<GROUP>Misc</GROUP>
<DETAILS>Will be run on any file type; user is responsible for choosing types that mapkey will operate on correctly.</DETAILS>
<SERVICE name="dbatchs"/>
<FILTER_FILE_TYPES type=".prt .asm .drw .sldprt .sldasm .catpart .catproduct .cgr"/>
<!-- Replace "F1" with chosen mapkey when customizing file -->
<!-- <TKFUNC func="ProMapkeyRun" mapkey_key_sequence="gen_bom_inst"> -->
<TKFUNC func="ProMapkeyRun" mapkey_key_sequence="gen_bom_inst ">
<save_model>false</save_model>
</TKFUNC>
</TTD>

 

Mapkey from .pro file:

mapkey gen_bom_inst ~ Command `ProCmdInfoBom` ;~ Activate `bom` `ok.OkBtn`;\
mapkey(continued) #INSTANCE;

 

It behaves in the same way, for all mapkeys, like a mapkey that only regenerates the part.

 

Thanks in advance for your help.

BR84_0-1747225105863.png

 

 

4 REPLIES 4
remy
21-Topaz I
(To:BR84)

Here is the reference article about distributed batch : https://www.ptc.com/en/support/article/CS139340

Pay specifically attention to the known limitations.

BR84
14-Alexandrite
(To:remy)

Hi Remy

 

Thanks for your feedback.

 

I read what you proposed. If I understood it correctly, this application isn't on the list.

 

There is a small success - I changed the method from mapkey to launching a trial file by makpkey. The bom file was generated, but it was empty. The performance was very low -  small test assemblies (from the family table, a few parts in each) - it took a couple of minutes to generate 10  empty files.

 

trial file:

 

!trail file version No. 2020
!Creo TM 9.0 (c) 2025 by PTC Inc. All Rights Reserved.
~ Command `ProCmdInfoBom`
~ Activate `bom` `ok.OkBtn`

BR84_0-1747847704402.png

 

What am I doing wrong?

 

Cheers!

remy
21-Topaz I
(To:BR84)


@BR84 wrote:

If I understood it correctly, this application isn't on the list.


This is not exactly what I meant.
If you need to pursue the investigation, you might as well file a case to our support desk so we can have a closer look to your use case.

anursingh
Moderator
(To:BR84)

Hi @BR84,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 

Announcements

NEW Creo+ Topics: Real-time Collaboration

Top Tags