Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop down pick list box

Status
Not open for further replies.

Faseddie

Industrial
May 21, 2014
8
US
Good Morning all,

New guy here. I have a design table for different for the same product in different sizes. I want to make a selection drop down box to access the choices in the design table. The choices activate a rule making the changes in the part. I think this would be VBA but can't seem to find any specifics.

Thanks in advance

Faseddie
 
Replies continue below

Recommended for you

To answer: "I want to make a selection drop down box to access the choices in the design table."

Create a string parameter.
Create your design table with this parameter as the first selection.
Then add all the other values you want on the table.
edit the table as needed.

That's it.
When you change the parameters value, the design table values for that item are applied.

The rest of your post seemed more like a statement; so, I didn't go any further for fear that it would muddy the waters.
 
Thanks.

I have that part working as a parameter. I want to create a drop down box, or radio button, to access that parameter. The button drop down would show the choices in the available in design table.
 
I think you're saying you already have a parameter that holds the multiple values(Configuration Names) of the design table.

If so, then you could write a Reaction that triggers OnValueChange.
And the Reaction could read the parameter's value and apply that configuration to the model
(ex: oDesignTable.Configuration = 3)

But, I don't see how you will keep the parameter up to date automatically if you need to add a configuration to the table later.
 
I have a rule that controls what parameter (i.e. length, width, hole locations...) are on or off as based on the design table. As you mention above the configuration references the design table. I can add/remove parts by editing the design table. I have a parameter called SizeDesignation that has a drop down list but I cannot seem to get it to reference the configuration or the table :/
 
In other words, how do I attach each value in a multiple value parameter to its corresponding value in the design table?
 
Yup. Sounds to me like a Reaction is the way to go.
The Reaction will wait until the value of the pull down menu changes.
When it does, the Reaction will read the value of the pull down menu and apply that DT configuration to the part.

If it doesn't absolutely have to be a drop down menu (you made mention that a radio button layout would be acceptable) then my first suggestion would work as well.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top