×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NX11 - Drop Down code

NX11 - Drop Down code

NX11 - Drop Down code

(OP)
Adding a drop down to a TBR file is simple enough. What I was wondering is if it is possible to add a drop down menu inside of another drop down menu?

Basically what I have is three different drop down buttons. These bring in parasolids.

Square Tbu'g Drop down will have a list of different size square tubing.
Round tubing will have a list of round tubing parasolids.
Steel Angles will have a dropdown list of several different sized steel angles.

My boss would like to know if we can create a drop down button called "Structural Shapes" that first has a drop down list of...
Square Tubing
Round Tubing
Steel Angles

Whichever one you select would then expand to a second list of the different sizes we have of that item.

Is this possible?

RE: NX11 - Drop Down code

(OP)
Got it. Basically it was as simple as writing the dropdown inside the other dropdown. lol

Example....

BEGIN_DROPDOWN Shapes
DROPDOWN_STYLE AS_POPUP_MENU
COLUMN_DROPDOWN 1
BITMAP path to image\xxxxx.bmp



BEGIN_DROPDOWN SQUARE TUB'G
DROPDOWN_STYLE AS_POPUP_MENU
COLUMN_DROPDOWN 1

BUTTON 3X3X325
LABEL 3" X 3" X 5/16" WT
STYLE Icon and Text
BITMAP path to image\xxxxx.bmp
ACTION path to vb file\xxxxx.vb

BUTTON 4X4X325
LABEL 4" X 4" X 5/16" WT
STYLE Icon and Text
BITMAP path to image\xxxxx.bmp
ACTION path to vb file\xxxxx.vb
END_DROPDOWN



BEGIN_DROPDOWN Round TUB'G
DROPDOWN_STYLE AS_POPUP_MENU
COLUMN_DROPDOWN 1

BUTTON DIA3X325
LABEL 3" DIA X 5/16" WT
STYLE Icon and Text
BITMAP path to image\xxxxx.bmp
ACTION path to vb file\xxxxx.vb

BUTTON DIA4X325
LABEL 4" DIA X 5/16" WT
STYLE Icon and Text
BITMAP path to image\xxxxx.bmp
ACTION path to vb file\xxxxx.vb
END_DROPDOWN


END_DROPDOWN

I just never even considered the simplicity of it. lol

What I would still like to know however, is can one make it so the upper levels of the button are not selectable to run the VB code? Only selecting the lowest level will run the journal?

RE: NX11 - Drop Down code

you have not considered using the reuse library ?

Regards,
Tomas

RE: NX11 - Drop Down code

(OP)
I had mentioned using the Reuse Library with one Rectangular Tube, one Round Tube, and one Steel Angle and each would have a few parameters to change. That was shot down. He wants a button and just dead bodies.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close