chenecho
Mechanical
- Sep 25, 2007
- 2
Hi,
Can anyone help me to perform the following task... I'm using NX5
I need to execute a macro or journal without opening Unigraphics that performs the following tasks using an already created file (suppose it is named "3dmodel.prt"):
1. Modify some expressions in the file 3dmodel.prt (I can do this with a journal or macro)
2. Export a *.jpg file (I have made it with a macro but not with a journal)
3. Export the modified file as Parasolid (I have made it with a macro but not with a journal)
I'm using the following *.bat file to execute the journal (named journalxx.vb) without opening UG. Is there a way to execute a macro without opening UG?
*.bat file to execute journalxx.vb
-------------------------------------------
cd C:\FILES PATH
run_journal journalxx.vb -args 3dmodel.prt
-------------------------------------------
Summarizing:
Inputs
- 3dmodel.prt
- journal or macro
- *.bat to execute the journal or macro
Outputs
- *.jpg of the modified file
- Parasolid of the modified file
Problems
- Using journal
- I don't know how to export to Parasolid and JPG in a journal
- Using macro
- I don't know how to execute a macro without opening UG (using a *.bat file)
Thanks
chenecho
Can anyone help me to perform the following task... I'm using NX5
I need to execute a macro or journal without opening Unigraphics that performs the following tasks using an already created file (suppose it is named "3dmodel.prt"):
1. Modify some expressions in the file 3dmodel.prt (I can do this with a journal or macro)
2. Export a *.jpg file (I have made it with a macro but not with a journal)
3. Export the modified file as Parasolid (I have made it with a macro but not with a journal)
I'm using the following *.bat file to execute the journal (named journalxx.vb) without opening UG. Is there a way to execute a macro without opening UG?
*.bat file to execute journalxx.vb
-------------------------------------------
cd C:\FILES PATH
run_journal journalxx.vb -args 3dmodel.prt
-------------------------------------------
Summarizing:
Inputs
- 3dmodel.prt
- journal or macro
- *.bat to execute the journal or macro
Outputs
- *.jpg of the modified file
- Parasolid of the modified file
Problems
- Using journal
- I don't know how to export to Parasolid and JPG in a journal
- Using macro
- I don't know how to execute a macro without opening UG (using a *.bat file)
Thanks
chenecho