BACTION — Block Action
Adds an action (move, scale or stretch) to a parameter of the dynamic block being edited.
- Command:
BACTION· Global name:_BACTION· Alias:AC
Adds an action to a parameter of the dynamic block being edited, like AutoCAD BACTION: what the block does when the property is changed or the grip is dragged. It only works in the Block Editor (BEDIT).
Usage
- In the Block Editor, enter BACTION (or AC) and select the parameter with a point on it.
Select parameter:
- Choose the action type for the parameter (with a rotation parameter the action is Rotate and with a flip parameter, Flip: it is not asked):
Specify action type [Array/Move/Scale/sTretch/Polar stretch]:
- Move: the objects move as much as the parameter point moves.
- sTretch: the objects entirely inside the frame move and, of the others, the ends and vertices inside it are stretched (like STRETCH).
- Scale (linear, polar and XY): the objects are scaled in the ratio of the distance, from the parameter base point.
- Array (linear, polar and XY): the objects are repeated along the parameter every column distance (and, with an XY parameter, also in rows).
- Polar stretch (polar): what is inside the frame rotates with the angle and moves away or closer with the distance; the "rotate only" objects only rotate.
- For linear, polar and XY, the parameter point it is associated with (Enter: the second one). For an XY parameter a corner is also valid: X follows the endpoint horizontally and the base point vertically; Y, the other way round.
Specify parameter point to associate with action or enter [Base point/Second point/Xcorner/Ycorner] <Second>:
- For the stretch actions, the frame: two corners or, with CPolygon, a polygon.
- Select the objects of the action and press Enter. With a window, the parameters inside it are also selected (for example, the base point: the action carries it and the insertion moves with it).
- For polar stretch, the objects that only rotate; for array, the distance between rows (XY; or the unit cell with two corners) and between columns.
Enter the distance between columns (|||):
Notes
- A parameter can have several actions and a block several parameters (for example, a linear one with its stretch and a visibility one): these are the AutoCAD parameter sets.
- Alignment and base point parameters have no actions.
- With a lookup parameter the action is Lookup (the type is not asked) and its table, which AutoCAD fills in a dialog box, is typed: first the input properties separated by commas (the command lists the valid ones: distances, angles in degrees and visibility), then each row with its input values and the lookup value last (Enter ends) and whether reverse lookup is allowed (choosing the lookup value in the palette sets the values of its row; otherwise it is read-only). If no row matches the block, the lookup value is "Custom".
Enter the input values and the lookup value of row … (separated by commas) or <done>:
- The block is checked with AutoCAD 2027: it opens with no AUDIT errors and, when the property changes, the geometry is the one LinceCAD computes.
See also
BPARAMETER · BVPARAM · BEDIT · BSAVE