Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export to Parasolid in a journal

Status
Not open for further replies.

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
 
Replies continue below

Recommended for you

I found a solution

I can execute a macro in DOS batch

ugii.bat -key:MACRO-NAME.macro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor