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

2021-10-06T23:26:08Z
NX Open

Summary


Details

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?

Solution

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

Contents

SummaryDetails

Associated Components

Block/UI Interface Stylers Menuscript Open for GRIP UDO