CUT_POLYGON

Split a polygon into several polygons at intersections with a cutting line.

CUT_POLYGON: select the polygon (1) and cutting line (2); split it into two polygons retaining its code

Parameters

Parameter number Description Values Optional
1 Delete the cutting line Any value, such as 1 Yes

Notes

Procedure:

  1. Select the polygon to modify. Only polygons (with or without holes) in the active drawing file can be selected. Other entity types and polygons from reference files cannot be selected.
  2. Select the cutting line.
  3. Analyze its intersections with the polygon.
    • If it does not intersect the polygon, display a balloon explaining this and do nothing.
    • If it intersects only holes (without intersecting the polygon boundary), display a balloon explaining this and do nothing.
  4. Split the polygon at the calculated cutting line intersections.

Delete the original polygon from the drawing file.

Generated polygons retain the original code. If database-linked, retain the polygon index.

Command characteristics

Command type Interactive command
Repeats automatically No
Menu option Edit/Polygons/Cut polygon
Toolbar This command has no associated toolbar button
Extension DigiNG.Commands.dll
Implementation .NET
Source code CortarPoligono.cs
Related variables No related variables
Related commands TRIM_POLYGON
TRIM_POLYGONS