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 by assigning materials to a set of three radio buttons and then, in the list control, specifying the finishes that are available for each material.
To specify a parent for a conditional list:
- From the Windows Start menu, click .
- From the left column, drag a Radio button control into the GroupBox control in the Custom Properties column.
- For the radio button control:
- In the right pane, under Control Attributes, type the Caption Materials.
- Under Custom Property Attributes, select a Name for the custom property the user is creating in the SOLIDWORKS software.
- For Quantity, specify the number of radio buttons for the control.
You must have at least two radio buttons.
- Under Label, enter text for the label on each button.
-
Select whether the property will be written to the Custom
tab or the Configurations
tab of the Summary Information dialog box.
- Drag a List box control below the Radio button control.
- For the list box control:
- Type the Caption Finishes.
- For Parent, click
and select the radio button control.
- Under Custom Property Attributes, select the property Name.
- For Type, select List.
The labels you assigned to the radio buttons are listed beside Values.
- Under the value that is derived from the first radio button, type a finish associated with the material.
- Press Enter to create another row and type 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, type a name.
- For Save in, navigate to 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.