You can specify one or more parents for a list control. The parent can be a set of radio buttons, a check box, or another list control.
This procedure describes how to conditionalize a list control. You assign
materials to a set of three radio buttons and then, specify the available finishes
for each material in the list control.
To specify a parent for a conditional list:
-
From the Windows Start
menu, go to
.
-
From the left column, drag a Radio
control into the GroupBox control in the
Custom Properties column.
-
For the radio control:
-
In the right pane, under Control
Attributes, enter Materials for
Caption.
-
Under Custom Property
Attributes, select a Name for the custom property that the user creates in
SOLIDWORKS.
-
For Quantity, specify the number
of radio buttons for the control.
You must have at least two radio buttons.
-
Under Label, enter text for each
label.
-
For Configurations, select
Show on Custom Tab
or Show on
Configuration Specific Tab
. Based on the selection, the
Properties dialog box shows the
properties on the Custom tab or the
Configuration Properties tab.
-
Drag a List control below the
Radio control.
-
For the list control:
-
Enter Finishes for
Caption.
-
For Parent, click
and select the radio
button control.
-
Under Custom Property
Attributes, select the property for
Name.
-
For Type, select
List.
The labels for the radio buttons are listed
next to
Values.
-
Under the value for the first radio button, enter a
finish associated with the material.
-
Press Enter to create a row and
enter another finish.
-
Repeat step 5f to specify all available finishes for
the material.
-
Repeat steps 5e through 5g for each of the radio button
values.
- To save the template:
- Click Save
.
-
In the Save SOLIDWORKS Properties
Template dialog box, for File
name, enter a name.
-
Select the location defined for Custom
Property Files on the File
Locations page of the System Options
dialog box.
- Click Save.
- Close the Property Tab Builder dialog box.