Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Pass argument to custom CAD worker

$
0
0

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


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>