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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Pass argument to custom CAD worker

TamasBiro
12-Amethyst

Pass argument to custom CAD worker

Hi all,

I am looking for a way to pass an additional argument to my custom worker. The main task that I want to achieve is to create a different output format based on user publishing params (Output Options). I uploaded an publishing rule xml containing two param-set

<param-set name="Create PDF">

      <worker name="type">pdf</worker>

  </param-set>

  <param-set name="Create X_T">

      <worker name="type">x_t</worker>

  </param-set>

  <publish on="create-representation" param-set="Create PDF"/>

  <publish on="create-representation" param-set="Create X_T"/>

Now the user has the ablity to select between the two publishing options. On the worker machine (separate windows machine with worker daemon and generic worker) I would like to somehow get the "type" worker argument and pass it to the batch, or write it to the .in file. How could I achieve this?

Thx,

Tamás

0 REPLIES 0
Announcements


Top Tags