Mold Wizard Customization & Window Behavior

Is there any way to incorporate a Nx Open .dll within mold wizard? Ideally, to create a new button that would allow program execution without exiting mold wizard?

If not, is there a way to execute a Nx Open .dll within another NX window/command that would return to the Nx window/command without exiting it? I am talking about the behavior that is present in the measure commands(Measure distance, angle, diameter, etc) and blank objects command that allows you to execute within another command in NX and allow you to return to it without exiting.

Does running custom code kick you out of the mold wizard application?

I'm not familiar with mold wizard, but I think it is a full-fledged application (like sheet metal or drafting); if so, you should be able to add buttons to it like any other application. If you use menuscript to customize the mold wizard environment, you should place the files in the appropriate "profile" subfolder.

Running a custom .dll kicks you out of most commands I believe. There is a FaceColor .dll a user posted on the GTAC languages forum and eng-tips. Executing this should behave like any of my custom .dll's.

Attempt using the "Line" command, and run a custom .dll. Once the .dll finishes executing, it should exit you out of the "Line" command.

DHuskic
Nx 9 VB

My apologies, I was thinking of the Nx switch part tool. This was a free tool someone uploaded at some point. It should be accessible in the google drive link down below. Save this as a user command on your toolbar.

https://drive.google.com/open?id=0B7BueUXr0wMrSWFTZ2FtWWNUTkU

Click on the line command, once that dialog opens, use the measure distance command(measure a random distance), then hit okay on the measure distance dialog. It should return to the line command you were previously in.

Doing the same thing with the new user command, it will exit the measure distance command and not return to it after the .dll executes.

DHuskic
Nx 9 VB

Manually, when I take the following steps:

Open Nx, new part, modeling.
Execute create block command
With the create block command open, I execute a measure distance
Hit cancel on measure distance, it takes you back to create block command

If I was able to capture the functionality that allows users to run my custom NxOpen .dll and have it return to mold wizard, I think that would solve my problem. Does anyone have any ideas how to do this?

Note: Whether you cancel out of measure distance, or use it to measure a distance, the result(going back to the block command) will happen with either method.

DHuskic
Nx 9 VB