Making a dynamic block using parameters and actions

Constraints can be used for simple blocks, but for blocks containing lots of objects, it simply becomes too difficult to manage all the geometries using constraints. For this kind of block, you need a specialized set of dynamic block tools called parameters and actions.

Figure 9.34: Sample Door block to which we will add Rotate, Flip, and Align parameters 

In the following example, we will add the Rotate, Flip, and Align parameters to the Door block shown in Figure 9.34:

  1. Select the Create block option from the Block panel of the Home tab, or type B and press Enter to start the create block window.
  2. Give this block a name. For this example, let's call it Sample Door. Click the Pick point box and select the lower-right corner of the door as the base point.
  3. Click the Select Objects box and then select all the objects that make this door. Make sure Convert to block is selected underneath the Select Objects box.
  4. From the Behavior panel, uncheck the Annotative and Scale uniformly options and select the Allow exploding option. Also, make sure that Open in Block Editor in the bottom left of the Block Definition window is checked.
  5. Click OK, and the block will again open in the Block Editor environment. In the drawing area, you will also find the BLOCK AUTHORING PALETTES option, as shown in Figure 9.35. We will use this palette to add the dynamic properties:

Figure 9.35: The Parameters tab under the BLOCK AUTHORING PALETTES 
  1. If you don't see the BLOCK AUTHORING PALETTES option, then select the Authoring Palettes tool from the Manage panel of the Block Editor tab.

Now that we have everything in place, let's start by adding the Flip parameter. This parameter will allow you to flip the direction of the block with respect to the reflection line.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.183.1