dimension_diametric
Creates a diametric dimension from center and chord coordinates with a positive leader length, using the active dimension style to display a circle’s diameter in AutoCAD drawings.
Instructions
Create a typed diametric dimension from center/chord geometry and positive leader length using the active drawing dimension style.
Side-effects: Adds diametric DIMENSION entity. Disambiguation: Displays diameter; for arc radii use dimension_radial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Target layer name. Uses active layer if omitted | |
| chord_x | Yes | Opposite chord point on circle diameter X coordinate in WCS | |
| chord_y | Yes | Opposite chord point on circle diameter Y coordinate in WCS | |
| center_x | Yes | First chord point on circle diameter X coordinate in WCS | |
| center_y | Yes | First chord point on circle diameter Y coordinate in WCS | |
| leader_length | Yes | Leader line length in drawing units |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||