The Block Editor contains a special authoring area in which you can draw and edit geometry as you would in the drawing area.
Summary
You use the Block Editor to define the objects and behavior for a block definition. In the Block Editor, you add parameters and actions, which define custom properties and dynamic behavior.
The following commands are used for editing blocks and are available only in the Block Editor:
- BACTION
- BACTIONBAR
- BACTIONSET
- BACTIONTOOL
- BASSOCIATE
- BATTORDER
- BAUTHORPALETTE
- BAUTHORPALETTECLOSE
- BCLOSE
- BCPARAMETER (not in AutoCAD LT)
- BCYCLEORDER
- BCONSTRUCTION
- BGRIPSET
- BLOOKUPTABLE
- BPARAMETER
- BSAVE
- BSAVEAS
- BTABLE
- BTESTBLOCK
- BVHIDE
- BVSHOW
- BVSTATE
When the BLOCKEDITLOCK system variable is set to 1, the Block Editor cannot be opened.
The Block Editor also provides a Block Editor toolbar and Block Authoring palettes that contain tools for creating dynamic blocks. The Block Authoring Palettes window contains the following tabs:
- Parameters tab
- Actions tab
- Parameter Sets tab
- Constraints tab (not in AutoCAD LT
Block Editor Toolbar
Provides tools for working in the Block Editor, creating dynamic blocks, and working with visibility states.
The Block Editor toolbar is displayed when the ribbon is not active. It is also displayed only when you enter the Block Editor with the ribbon closed.
- Edit or Create Block Definition
- Save Block Definition
- Save Block As
- Name
- Test Block (BTESTBLOCK)
- Automatically Constrain Objects (AUTOCONSTRAIN) - Not available in AutoCAD LT
- Apply Geometric Constraint (GEOMCONSTRAINT) - Not available in AutoCAD LT
- Display / Hide Constraints Bar (CONSTRAINTBAR)
- Parameter Constraint (BCPARAMETER) - Not available in AutoCAD LT
- Block Table (BTABLE) - Not available in AutoCAD LT
- Parameter (BPARAMETER)
- Action (BACTION)
- Define Attribute (Attribute Definition Dialog Box)
- Authoring Palettes (BAUTHORPALETTE)
- Parameters Manager (PARAMETERS)
- Close Block Editor (BCLOSE)
- Visibility Mode ( BVMODE)
- Make Visible (BVSHOW)
- Make Invisible (BVHIDE)
- Manage Visibility States (Visibility States Dialog Box)
- Visibility State
Parameters Tab (Block Authoring Palettes Window)
Provides tools for adding parameters to a dynamic block definition in the Block Editor. Parameters specify positions, distances, and angles for geometry in the block reference. When you add a parameter to a dynamic block definition, it defines one or more custom properties for the block.
- Point Parameter (BPARAMETER)
- Linear Parameter (BPARAMETER)
-
Adds a linear parameter to the dynamic block definition and defines a custom distance property for the block reference. A linear parameter shows the distance between two anchor points. A linear parameter constrains grip movement along a preset angle. In the Block Editor, a linear parameter looks similar to an aligned dimension.
- Polar Parameter (BPARAMETER)
-
Adds a polar parameter to the dynamic block definition and defines custom distance and angle properties for the block reference. A polar parameter shows the distance between two anchor points and displays an angle value. You can use both grips and the Properties palette to change both the distance value and the angle. In the Block Editor, a polar parameter looks similar to an aligned dimension.
- XY Parameter (BPARAMETER)
-
Adds an XY parameter to the dynamic block definition and defines custom horizontal and vertical distance properties for the block reference. An XY parameter shows the X and Y distances from the base point of the parameter. In the Block Editor, an XY parameter displays as a pair of dimensions (horizontal and vertical). These dimensions share a common base point.
- Rotation Parameter (BPARAMETER)
- Alignment Parameter (BPARAMETER)
-
Adds an alignment parameter to the dynamic block definition. An alignment parameter defines an X and Y location and an angle. An alignment parameter always applies to the entire block and needs no action associated with it. An alignment parameter allows the block reference to automatically rotate around a point to align with other objects in the drawing. An alignment parameter affects the angle property of the block reference. In the Block Editor, an alignment parameter looks like an alignment line.
- Flip Parameter (BPARAMETER)
-
Adds a flip parameter to the dynamic block definition and defines a custom flip property for the block reference. A flip parameter flips objects. In the Block Editor, a flip parameter displays as a reflection line. Objects can be flipped about this reflection line. A flip parameter displays a value that shows if the block reference has been flipped or not.
- Visibility Parameter (BPARAMETER)
-
Adds a visibility parameter to the dynamic block definition and defines a custom visibility property for the block reference. With visibility parameter, you can create visibility states and control the visibility of objects in the block. A visibility parameter always applies to the entire block and needs no action associated with it. In a drawing, you click the grip to display a list of visibility states available for the block reference. In the Block Editor, a visibility parameter displays as text with an associated grip.
- Lookup Parameter (BPARAMETER)
-
Adds a lookup parameter to the dynamic block definition and defines custom lookup properties for the block reference. A lookup parameter defines a custom property that you can specify or set to evaluate to a value from a list or table you define. It can be associated with a single lookup grip. In the block reference, you click the grip to display a list of available values. In the Block Editor, a lookup parameter displays as text.
- Base Point Parameter (BPARAMETER)
-
Adds a base point parameter to the dynamic block definition. A base point parameter defines a base point for the dynamic block reference relative to the geometry in the block. A base point parameter cannot be associated with any actions, but can belong to an action's selection set. In the Block Editor, a base point parameter displays as a circle with crosshairs
Actions Tab (Block Authoring Palettes Window)
Provides tools for adding actions to a dynamic block definition in the Block Editor. Actions define how the geometry of a dynamic block reference move or change when the custom properties of a block reference are manipulated in a drawing. You associate actions with parameters.
- Move Action (BACTIONTOOL)
- Scale Action (BACTIONTOOL)
-
Adds a scale action to the dynamic block definition when you associate the action with a linear, polar, or XY parameter. A scale action is similar to the SCALE command. In a dynamic block reference, a scale action causes its selection set to scale when the associated parameter is edited by moving grips or by using the Properties palette.
- Stretch Action (BACTIONTOOL)
- Polar Stretch Action (BACTIONTOOL)
-
Adds a polar stretch action to the dynamic block definition when you associate the action with a polar parameter. A polar stretch action rotates, moves, and stretches objects a specified angle and distance when the key point on the associated polar parameter is changed through a grip or the Properties palette
- Rotate Action (BACTIONTOOL)
-
Adds a rotate action to the dynamic block definition when you associate the action with a rotation parameter. A rotate action is similar to the ROTATE command. In a dynamic block reference, a rotate action causes its associated objects to rotate when the associated parameter is edited through a grip or the Properties palette.
- Flip Action (BACTIONTOOL)
- Array Action (BACTIONTOOL)
- Lookup Action (BACTIONTOOL)
Parameter Sets Tab (Block Authoring Palettes Window)
Provides tools for adding a parameter and at least one action at the same time to a dynamic block definition in the Block Editor. When you add a parameter set to a dynamic block, the actions are automatically associated with the parameter. After you add a parameter set to a dynamic block, you double-click the yellow alert icon (or use the BACTIONSET command) and follow the Command prompts to associate the action with a selection set of geometry.
Constraints Tab (Block Authoring Palettes Window) - Not available in AutoCAD LT
Provides tools for applying geometric constraints and constraint parameters to objects. When you apply geometric constraint to a pair of objects, the order in which the objects are selected and the point on which each object is selected can affect how the objects are positioned relative to each other.
- Coincident Constraint (GCCOINCIDENT)
- Perpendicular Constraint (GCPERPENDICULAR)
- Parallel Constraint (GCPARALLEL)
- Tangent Constraint (GCTANGENT)
- Horizontal Constraint (GCHORIZONTAL)
- Vertical Constraint (GCVERTICAL)
- Colinear Constraint (GCCOLLINEAR)
- Concentric Constraint (GCCONCENTRIC)
- Smooth Constraint (GCSMOOTH)
- Symmetric Constraint (GCSYMMETRIC)
- Equal Constraint (GCEQUAL)
- Fix Constraint (GCFIX)