autocad_check_fits_boundary
Check if proposed geometry fits inside a sheet boundary’s usable area, accounting for annotation margins. Reports fit status and extents without scaling or distorting dimensions.
Instructions
Check whether proposed geometry fits inside the sheet boundary's usable area.
Never distorts or scales the points — it only reports whether they fit, so dimensions are never silently changed to force a fit.
Args: params (CheckFitsBoundaryInput): - points (list[Point]): corners (or any representative points) of the proposed geometry. - layer (str): boundary layer to check against (default 'SHEET_BOUNDARY'). - margin (float): annotation margin to subtract, matching the value used when the boundary was created (default 0).
Returns: str: JSON {"fits": bool, "boundary_usable_extents", "requested_extents"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |