Cancel
Showing results for 
Search instead for 
Did you mean: 

Batchfile creation

Valued Contributor
Valued Contributor

Hi,

Can anyone tell me how to create .bat file for the nx drafting templates. I would like to run the .bat file for other users to setup the templates.

Let me know if you need additional information.

 

Thanks,

Yunus

4 REPLIES

Re: Batchfile creation

Siemens Phenom Siemens Phenom
Siemens Phenom
What are you attempting to do with a bat file on your drafting templates? If these are templates for native NX, open them in NX and modify them to suit your requirements. If you've renamed the part files after you've modified them you'll need to update the associated pax file. I'm not sure why you need to use a bat file, except perhaps for importing the parts into Teamcenter.

Part File Templates:
https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_help/#uid:index_working_with_files:fil_new_tem...

Regards, Ben

Re: Batchfile creation

Valued Contributor
Valued Contributor

Hi,

Thanks for your reply.

We have created drafting template files and also we have customized the customer defaults as per our organization standard. Now I was thinking to include all thes changes in the batch file and use the batch file to setup in client user locations.

By setting up all these changes manually is difficult we feel. Hence we want to have one batch file, if we run the batch file it must do all the settings.

Will this not be helpful? Please suggest which is best method to proceed.

 

Thanks

Yunus

Re: Batchfile creation

Siemens Phenom Siemens Phenom
Siemens Phenom

Are you referring to a startup script on each client? I'm assuming that you've read the docs on setting up 'site' customer defaults. I would suggest defining a location on your network for customized NX files (templates, customer defaults, etc) and then either setting a variable on each client to point to that network share or create a startup script (bat file) to do the same thing when starting NX.  That way you don't have to manage all of the customized files on each client.

You might also want to consider using NX Custom: https://community.plm.automation.siemens.com/t5/NX-Programming-Customization/NXcustom-for-NX10-0/m-p...
Note: It's not supported by GTAC but there are many users here that can help you.

You might also want to read the following about setting up levels of customer defaults:
https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_help/#uid:customer_defaults_default_levels_rt

Regards, Ben

Re: Batchfile creation

Valued Contributor
Valued Contributor

Hi,

Thank you so much for the reply.

I will go through as per your suggestion and let you know.

 

Regards,

Yunus