Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

I need to launch already existing command in UG NX 9, but need default load values to be changed .

Status
Not open for further replies.

Inian14

Mechanical
Jun 20, 2012
1
Hi
I need a help from u guys
I want to launch a exsiting UG command in NX by using vb.net dll file but I have to set certain parameters inside the command as I intended
bcoz I need to change those parameters again and again each time when I launch that tool.

Lets say I want to launch extrude command with default my own default start value and end value

I recorded journals but the execution is doing the changes and does commit the command, dont know what to do pls help

Thanks & regards,
Inian
 
Replies continue below

Recommended for you

You can provide a user interface (UI) for your program through the use of the block styler, winforms, some NX selection commands, or (to a limited extent) message and input boxes. There is no way (that I know of) to pull up a standard NX dialog box, wait for user input, and use the values as input for your journal.

The advantage of custom programs is to speed things up by calculating values and eliminating user input as much as possible. If you can calculate the values that you need based on other objects in the file, it would be to your advantage to do so. If you absolutely need user input, you will have to use one of the methods mentioned above.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor