Applying Constraint Parameters to CustomBlock Entities

Use the CBCElement command to apply dimensional constraint parameters to specified entities of a CustomBlock or to convert dimensional constraints to dimensional constraint parameters.

Using constraint parameters you can control the distance, length, diameter, radius, and angle values of entities within a CustomBlock. Changing the value of constraint parameters changes the size of the related entities.

To apply a constraint parameter:

  1. In the Block Editor, type CBCElement at the command prompt.

    Command options correspond to the choices provided by individual element commands from the Block Editor (Dimensional panel).

  2. Specify an option:

    • Linear. Creates a linear horizontal or vertical constraint parameter based on two specified points in the CustomBlock definition.

    • Horizontal. Constrains the X distance of a line or between two points on different entities.

    • Vertical. Constrains the Y distance of a line or between two points on different entities.

    • Aligned. Constrains the direct distance between two points on different entities, two lines, or a point on an entity and a line.

    • Angular. Constrains the angle between two Lines or PolyLine segments, the total angle of an Arc or curved PolyLine segment.

    • Radius. Constrains the radius of a Circle, Arc, or curved PolyLine segment.

    • Diameter. Constrains the diameter of a Circle, Arc, or curved PolyLine segment.

    • Convert. Converts the dimensional constraints to constraint parameters.

      Entities other than dimensional constraints are ignored and filtered from the selection set.

  3. Follow the command prompts.

    The subsequent sequences of the CBCElement command are identical to those of the individual command variants.

Access

Command: CBCElement

Parent Topic

Adding Constraints to CustomBlocks Definitions