×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to use macro or journal to import parasolid then save to .prt

How to use macro or journal to import parasolid then save to .prt

How to use macro or journal to import parasolid then save to .prt

(OP)
I am trying to create a macro or journal file that will import a parasolid file (with user selection to the specified file) and then save it as a UG .prt file in the location i select.

I am having problems with it opening the same parasolid with no user selection.

Here is the macro.
Thanks

NX 5.0.4.1
Macro File: C:\Documents and Settings\j\Desktop\test.macro
Macro Version 7.50
Macro List Language and Codeset: english 17
Created by j on Wed Nov 19 08:09:32 2008
Part Name Display Style: $FILENAME
Selection Parameters 1 2 0.253752 1
Display Parameters 1.000000 14.025591 8.927473 -1.000000 -0.636513 1.000000 0.636513
*****************
RESET
MENU, 0, UG_FILE_IMPORT_PARASOLID UG_GATEWAY_MAIN_MENUBAR !  
FOCUS CHANGE IN 1
FOCUS CHANGE OUT 1
FOCUS CHANGE IN 1
FILE_BOX -2, L:\CAD\101a FIXED HOLDER BLOCK.x_t  L:\CAD\*.X_T  1 ! Import Parasolid File
MENU, 0, UG_FILE_SAVE_AS UG_GATEWAY_MAIN_MENUBAR !  
FILE_DIALOG_BEGIN 1, ! filebox with tools_data
FILE_DIALOG_UPDATE 2
FOCUS CHANGE IN 1
FOCUS CHANGE OUT 1
FOCUS CHANGE IN 1
FILE_DIALOG_END
FILE_BOX -2, L:\CAD\101a FIXED HOLDER BLOCK  L:\CAD\*.PRT  1 ! Save Part File As
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources