Building a Parametric 3D Family |
| |
|
Controlling Chair Visibility |
| To modify the family so that chairs can be made visible (or not visible) as part of the family definition, follow these steps: |
- Click Family Types on the Design bar to open the Family Types dialog
- In the Parameters group, click Add.
- In the Parameter Properties dialog, enter the data shown in Figure 10.40.
|
Figure 10.40
Fill out the Parameter Properties dialog as shown here |
|
- Click OK.
- Select one of the chair groups, and choose Edit Group from the Options bar
- Select the chair, and edit its element properties, either by right-clicking and using the context menu or by clicking the Element Properties icon in the Options bar.
- Under the Graphics group, find the Visible parameter. At the far right end of the row, click the button to launch the Associate Family Parameter dialog box.
- In the dialog, choose the displaysChairs parameter you created earlier.
- Click OK twice to dismiss the Associate Family Parameter and Element Properties dialogs; then, click Finish Group.
- Click the Family Types Design bar command to launch the familiar Family Types dialog.
- Choose the type 36. Diameter in the Type drop-down list at the top of the dialog.
- At right, in the Family Types group, choose New.
- Type in the name 36. Diameter no Chairs, and then click OK.
- In the Graphics group, select the displaysChairs parameter, and then Click OK to close the Family Types dialog.
- Save the family. Choose Load Into Project from the Design bar to view the completed family
- You should have four types of families available. Place an instance of each to see the results (Figure 10.41)
|
Figure 10.41
Finished family types placed in a project. All four types are dis-played, illustrating the use of the array with the formula and the conditional dis-play of the chairs |
|