NX X Passing an argument to a NX Open dll from a toolbar button

NX Open



When defining a toolbar using Menuscript you can define a button that calls a NX Open dll. Is it possible to pass an argument to the dll?


Yes it is possible to pass arguments to a dll by putting them in parentheses after the dll name in the ACTION statement. For example:

ACTION ToolbarButtonArgs.dll("arg1", "arg2")

The same applies to journals.

Notes and References

Menuscript User's Guide->Customizing toolbars with TBR files->TBR Contents of toolbar keywords

Hardware/Software Configuration

Platform: INTL64
OS: window
OS Version: 764SP1
Product: NX
Application: SYSENG
Version: V11.0.2
Function: UG/OPEN

Ref: 001-8988732

KB Article ID# PL8002624



Associated Components

Block UI Styler Menuscript Open for GRIP UDO