Monday, May 4, 2009

Layer Settings


Unreconciled New Layers
Notified about new layers that have been added to the drawing

Turn on or off the filter results
Control the background color of viewport overrides

Filter Menu Options


  • Control the visibility of the layers identified by the filter
  • Lock or unlock layers 
  • Freeze or thaw layers in the current viewport, 
  • Isolate layers by freezing all layers identified by the filter
  • Create nested layer filters using the New Properties Filter and Convert to Group Filter options
  • Rename and delete user-defined layer filters

Layer Group Filter

Create a filter with a random selection of layers that may not be definable by a common criteria


Add layers by drag and drop layers from the layer list

Sunday, May 3, 2009

Filter Wild Cards

# Matches any numeric digit

@ Matches any alphabetic character

. (Period) Matches any non-alphanumeric character
                  ROOF.TR@@@ finds ROOF-TRUSS

* (Asterisk) Matches any text string and can be placed anywhere in the search string

? Matches any single alphanumeric character

~ (Tilde) Matches anything except
                 ~*DI* matches all strings that do not contain DI

[] Matches any one of the characters enclosed
    [XY]C matches both XC and YC

[~] Matches any character that is not enclosed
      [~XY]C matches AC but not XC or YC

[-] Matches a range for a single character
     [H-L]C matches HC, IC, JC, and so on but not MC

` (Reverse quote) Reads the next character
   `*XY matches *XY

Layer Property Filter


Contain the criteria used to filter layer lists

1. Filter Name
2. Filter Definition
3. Filter Preview

Layer Properties Manager


1. New Property Filter
2. New Group Filter
3. Layer States Manager
4. Refresh Layer List
5. Layer Settings
6. All Used Layers
7. Invert Filter

Layer Filter

Filter and shorten the layer list in the Layer Properties Manager and the Layers panel
Layer filters alone do not affect layers displayed in the drawing area


In most situations need access to only a small group of layers relevant to the current design task

By default, every drawing contains two predefined layer filters, All and All Used Layers, which cannot be deleted

If the drawing contains xrefs, viewport overrides, or unreconciled new layers, there are potentially three other default layer filters:

1. Xrefs
2. Viewport Overrides
3. Unreconciled New Layers

Saturday, May 2, 2009

Creating Dynamic Block

Create a Dynamic Door

Insert tab > Block Definition panel > Create Block


Pick lower-left as a base point
Select the door
Make sure "Open in block editor" is checked
Assign Parameter
 

Block  Authoring Palettes - Parameter tab - Linear
 

Position the Linear patameter from left to right
(Sumulates the stretching direction)
 
Block Authoring Palettes - Parameter tab - Flip
 

Shift + Ryght-click - Mid Berween 2 Points
 
Pick point 1 & 2, position the label near point 3
 
BlockAuthoring Palettes - Parameter tab - Alignment

 
Pick point 1, then point 2 to define alignment axis

 
Adjust Value Set
 
Select Distance parameter
 
Distance Description: Adjust door width

Dist type: Increment
Dist increment: 2.0
Dist minimum: 24
Dist maximum: 36
Number of Grips: 1
 
BlockAuthoring Palettes -  Action tab - Scale
 
Select the Distance parameter, Flip State parameter, Arc
[Enter]
Position the Scale label
 
BlockAuthoring Palettes - Action tab - Stretch
 
Select Distance parameter, select the grip on the right

 
Pick 2 points to specify the stretch frame

 
Select 2 vertical lines of the door panel
 
Position the Stretch laber
 
Select the Stretch action
 
Angle offset: 90
 
Douck-click on the Flip State parameter label to assign Flip action
 
Select all objects and parameters
 
Position the Flip action label near the center of Distance parameter
 


Rotate & Flip diverter valve

On the ribbon, Blocks & References tab, Block panel, click Block Editor

  1. In the Edit Block Definition dialog box, select Diverter Valve. Click OK

       2. On the Block Authoring Palettes, Parameters tab, click Rotation Parameter

       3. To specify the base point, select the center of the valve

       4. To specify the radius of the parameter, select a point near the one shown

Right-click anywhere in the drawing. Click Base Angle

        5. To specify the base angle, enter 315

        6. To specify the default rotation angle, enter 90

        7. To specify a label location, position the Rotation parameter, as shown

        8. Select the Angle parameter. On the Properties palette:
  • Under Properties label, for Angle Description, enter Adjust valve position
  • Select List from the Ang Type list
  • Click [...] in the Ang Value List field
        9. In the Add Angle Value dialog box:
  • Enter the values, as shown

  • Click Add
  • Click OK

        10. Press ESC to clear the selection set

        11. On the Block Authoring Palettes, Actions tab, click Rotate Action to add a Rotate action to the Angle parameter

        12. To specify the parameter, select the Angle parameter

        13. To specify the objects to rotate, select the diverter valve object as shown. Press ENTER to end selection

        14. Position the Rotate action, as shown

Add a Flip Parameter Set

  1. On the Block Authoring Palettes, Parameter Sets tab, click Flip Set
  2. To specify a base point for the reflection line, select the endpoint of the centerline

        3. To specify an endpoint of reflection line, select a point on the center line directly above the base point

        4. Position the label as shown

        5. On the Properties palette, for Flip Description, enter Flip valve body position to describe the Flip parameter

        6. Double-click the Flip1 action. Use a window to select all objects and parameters. Press
ENTER to end selection

        7. On the ribbon, click Close Block Editor
        
        8. In the AutoCAD warning dialog box, click Yes to save changes to the Diverter Valve

Use Diverter Valve
  1. In the drawing area, select the block to display its grips
  2. On the status bar, verify that the Ortho mode is turned off
  3. In the drawing area, select the Adjust Valve Position grip

        4. To experiment with different angles, move the cursor around. Notice the value position locks to the angle markers
        
        5. Select the Flip Parameter grip


Using Parameter Set


Using parameter sets is not very different from individually applying parameters and actions

  1. On the basis of the required types of parameters and actions, select the appropriate parameter set

       2. Specify the start point, the end point, and other items required by the parameter set
         

       3. Adjust the parameter and action properties, as required
          

       4. Test the dynamic block
         

Parameter Set Types



Parameter Set

Streamline 简化 the creation of parameters and actions by using a single command to place the required parameter and action


Linear Stretch parameter sets named Stretch and Stretch1 
Linear Move parameter sets named Move and Move1 are added

Associating Actions and Parameters

1. On the Block Authoring palette, click Stretch Action.
2. Select the parameter on the drawing to associate with the action.

3. Click near the parameter point to associate the action with the parameter indicated by the red node symbol

4. Click two points to define the stretch crossing window

5. Select the objects to include in the stretch

6. Select a point to locate the action

NOTE: Verify that the dynamic block is completed.

7. Close the Block Editor to return to the drawing

8. Insert the block into the drawing

9. Select the block, and select the arrow grip
NOTE: The linear parameter is displayed, showing its current value

10. Drag the cursor in the direction of the stretch