|
Autodesk introduced new functionality into blocks several years ago and called them 'Dynamic Blocks'. Now the block editor provides construction tools to create these dynamic blocks. Once a dynamic block is created, it can be reused on the tool pallette, when inserted from the clipboard, and from the company tool catalog (another topic of discussion for the future).
Dynamic blocks are just regular blocks which provide grips and data tables to change specific features of the block without editing or exploding. For instance, the handicap parking symbol sometimes needs to be rotated about its insertion point to appear as if it is painted on the parking space. To rotate the dynamic handicap symbol block, click on it, click on the round grip, move the mouse around the block and click to put it down.
Create Dynamic Block
- Create Block
- Select objects which you want to be made into a block
- Type 'block'
- Follow prompts to select
- insertion point
- objects
- name
- Type bedit to begin to edit the block
- Select the block by name.
- (Alternatively open an existing block and simply begin to edit it.)
- Select a parameter
- point parameter
- polar parameter
- xy parameter
- alignment parameter
- flip parameter
- visibility parameter
- lookup parameter
- base point parameter
- rotation parameter
- Follow the prompts and place the parameter in the block
- Select an action
- Types of actions
- move action
- scale action
- stretch action
- polar stretch action
- flip action
- array action
- lookup action
- rotation action
- Select the parameter you just placed in the block for this feature
- Follow the prompts and also select the objects associated with this action
- Place the Action symbol in a convenient spot
- Close Block Editor and Save the block definition
Combine several functions into one dynamic block
- With some study, you could create a custom block which scales, rotates, and stretches specific objects within the block having different effects, depending on which operation you perform first.
- The possibilities are endless and you only need some imagination to find powerful uses for these dynamic blocks.
Parameters and Parameter Sets - A Parameter Set is a combination command in the Block Authoring Palette which combines the parameter with its Action.
- Visibility- Allows several instances of the block to reside simultaneously together by turning on and off various objects. An example block can be found in the 24-36 SHEETSET TITLE Tab of S:/ACAD/CIVIL3D Template/C3D Template.dwt as the barscale in the lower right corner. Click on the block, click on the Pentagonal grip, select the scale for the sheet.
- Insert Visibility Parameter
- From the Block Authoring Palette
- Click on Parameter Tab
- Click on Visibility
- Click in the drawing area of the block editor
- Click to paste the Visibility Parameter
- Create new Visibility State
- Highlight the Visibility Parameter
- Right click
- Select Visibility States
- In Visibility States Dialog Box
- Select New
- Type the new name
- Select Visibility Option for this new state
- Select Ok
- Establish Visibility Status for specific object(s)
- Set the current Visibility State
- Highlight the Visibility Parameter
- Right click
- Select Visibility States
- In Visibility States Dialog Box
- Highlight one visibility state
- Click on Set Current
- Click OK
- Set Visibility Status
- Highlight Object
- Right click/ Select Object Visibility
- Select one of the four visibility options for those objects
- Hide for current state
- Show for current state
- Hide for all states
- Show for all states
- X-Y Stretch Box Set--This parameter set allows you to stretch an object in each of two mutually perpendicular directions at the same time. An example is in S:/ACAD/Design Center/Design Center.dwg in the 340-720Chamber block. By stretching the gravel border, the gravel hatch follows because it is associative to the border.
- Make sure you have in mind which objects you want to be able to stretch in each linear direction.
- Select X-Y Stretch Parameter Set
- Click on the corner of the origin of the stretch action
- Click on the diagonal corner of the stretch action
- Click on one stretch action and right click
- Select Action Selection Set/New Selection Set
- Click on the first corner of the selection frame and then the opposite corner, just as you would in the standard stretch command
- Select the objects you wish to stretch...in the example, just the rectangular pline (the hatch is associative and does not stretch)
- Press Enter
- Repeat steps 2-9 for the other stretch parameter.
- If you wish to have the stretch operate incrementally,
- Highlight the distance parameter
- Right click and select Properties
- Type in the increment under Horizontal Distance and Vertical Distance.
- X-Y Array Box Set-This parameter set allows you to repeat a rectangular array using any of four grips. The arrayed objects simply repeat in both directions like a checkerboard. An example is in S:/ACAD/Design Center/Design Center.dwg in the 340-720Chamber block.
- Select X-Y Array Box Set
- Click on the origin corner
- Click on the end point diagonally from the origin
- Highlight one Array Action
- Right Click and select Action Selection /New Selection set
- Click on the objects you want to be in the array
- Press Enter
- Repeat steps 4-7 for the other Array Action
- To Set the Row and Column Offsets
- Highlihgt the Array Action in one direction
- Right Click and select Properties
- Type in the Row Offset and Column Offset
- Rotate - The Rotate parameter set provides a quick way to rotate something in the block, and even the entire block using a grip. An example can be found for the Text orientation for the dynamic north arrow so you can insert the block at north orientation and then rotate the text to plan view. S:/ACAD/C3D Template/C3D Template.dwt (north-dyn block)
- Select Rotation parameter set
- Click on the center point of rotation
- Click on the outer radius
- Click for the maximum angle
- Click for the location of the grip
- While these items are highlighted, you may grip and adjust each one of them individually
- Highlight the name Rotate
- Right Click
- Select Action Selection Set/New Selection Set
- Select the objects you wish to rotate with this command
- Click Enter
- Point Parameter allows you to insert a grip for moving the block (you must use the move parameter to move parts of the block)
- Select the Point Parameter
- Click at the exact place where you wish the grip to reside
- Click on another location to place the point label
- Right click on the label
- Select Rename Label
- Type in the new name for the label
- Alignment Parameter - allows you to orient the block either parallel or perpendicular to line or p-line in the drawing. This does not work with AEC objects like pipes and surfaces.
- Select Alignment Parameter
- Click to position the grip point
- Rotate and click to establish the orientation line
- Toggle orientation
- Highlight the Alignment Parameter
- Select Properties
- Select Parallel or Perpendicular
- Flip Parameter Set- allows you to mirror and replace the selection set in the dynamic block.
- Select Flip Set
- Click (or type coordinates) of the center of mirror
- Click (may use snaps or ortho) to specify the other end of the mirror plane.
- Drag the grip to a convenient location
- Rename
- Add Selection Set
- Highlight the name Flip Set
- Right Click
- Select Action Selection Set/New Selection Set
- Select the objects you wish to flip with this command
- Click Enter
|