Using NXOpen .exe's in a .tbr File for NX6
Using NXOpen .exe's in a .tbr File for NX6
(OP)
Hello everyone -
I am having difficulty creating a custom toolbar for NX6.0.4.3. I have a couple of executables created with NXOpen .NET and I have them signed and ready. When I create a custom user command in NX, I can choose the type of action that the button will perform, and I can successfully run the .exe action.
When I create a custom toolbar file (.tbr), and have the ACTION point to the file, I get the following error:
Error: Unknown action type.
Does anyone now how to define an action type in a .tbr file, or solve this problem.
Thanks in advance,
I am having difficulty creating a custom toolbar for NX6.0.4.3. I have a couple of executables created with NXOpen .NET and I have them signed and ready. When I create a custom user command in NX, I can choose the type of action that the button will perform, and I can successfully run the .exe action.
When I create a custom toolbar file (.tbr), and have the ACTION point to the file, I get the following error:
Error: Unknown action type.
Does anyone now how to define an action type in a .tbr file, or solve this problem.
Thanks in advance,
sumBuddy (Mechanical)
--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."





RE: Using NXOpen .exe's in a .tbr File for NX6
Marc
NX Software Developer
RE: Using NXOpen .exe's in a .tbr File for NX6
! Drafting Toolbar
TITLE Custom Drafting Toolbar
VERSION 170
BUTTON UPLOAD
LABEL UPLOAD TO DOC LIBRARY
BITMAP U:\NX6_UGCustom\bitmaps\upload.bmp
ACTION ${UGII_BASE_DIR}\ugii\managed\PRINT2DMS.exe
SEPARATOR
BUTTON TITLE_BLOCK
LABEL TITLE BLOCK
BITMAP U:\NX6_UGCustom\bitmaps\TB.bmp
ACTION ${UGII_BASE_DIR}\ugii\managed\titleBlock.dll
SEPARATOR
BUTTON REV_BLOCK
LABEL REV BLOCK
BITMAP U:\NX6_UGCustom\bitmaps\REV.bmp
ACTION ${UGII_BASE_DIR}\ugii\managed\RevisionCreator.exe
The two .exe's give the error, and the .dll works fine.
sumBuddy (Mechanical)
--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."
RE: Using NXOpen .exe's in a .tbr File for NX6
Marc
NX Software Developer
RE: Using NXOpen .exe's in a .tbr File for NX6
HIDE
ACTION
ON
OFF
BUTTON
SEPARATOR
EDIT
COMBOBOX
BEGIN_DROPDOWN
END_DROPDOWN
OPTIONMENU
The EXECUTE command you suggest is invalid.
Thanks
sumBuddy (Mechanical)
--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."
RE: Using NXOpen .exe's in a .tbr File for NX6
BUTTON REV_BLOCK
LABEL REV BLOCK
BITMAP U:\NX6_UGCustom\bitmaps\REV.bmp
ACTION ${UGII_BASE_DIR}\ugii\managed\RevisionCreator.exe
to ensure that there isn't some kind of syntax error?
Marc
NX Software Developer
RE: Using NXOpen .exe's in a .tbr File for NX6
Marc
NX Software Developer