From the course: AutoCAD: Designing Dynamic Blocks

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Controlling the visibility of objects from a menu

Controlling the visibility of objects from a menu

From the course: AutoCAD: Designing Dynamic Blocks

Start my 1-month free trial

Controlling the visibility of objects from a menu

- To make this Dynamic Block even better and more flexible, let's design a Visibility system so that we can control the number of guest chairs that are displayed. We want to be able to choose from a menu whether we have two guest chairs, one guest chair, or no guest chairs. Double-click the Block reference to go into the Block Editing environment. Go to the Parameters tab and choose Visibility. It says, "Specify parameter location." Zoom in on the guest chairs area here, and it's getting kind of crowded. Let's place this script right about here. Now, the Visibility parameter doesn't have a Visibility action that you might associate with it. Instead, that functionality is up here, in this area. So go to Visibility States, and there's always a default state called Visibility State0. Let's rename that and call it "2 Guest Chairs," and then click New, and type "1 Guest Chair." That will be our second State. We're going to leave the Visibility of everything as it is. Then I'll say, "No…

Contents