Re: Pull info from an external file (.txt or .xls) into program output

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

To do this code once, you will need to "source" in a common tcl file

In Post Builder:

"Output settings" tab

"Other options" tab

"user tcl source" block

 

My recommendation would be to

- use a specific "user" tcl for each post (e.g. if post name is "ABC123_mill_3x", set the user file to "ABC123_mill_3x_user")

- in that _specific_ file, use the tcl "source" command to source in the _common_ tcl code (one file shared by all posts)

- After adding the custom command (to call the common tcl proc) in one post, export it, then you can import in all your other posts.

 

Hope this helps...Ken

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled