CurveToAreaSharingBorder

 

The CurveToAreaSharingBorder method converts a curve into an area where one of the sides is shared with an existing area.

 

Syntax

object.CurveToAreaSharingBorder

 

Example

    'CurveToAreaSharingBorder

    'Select the area with PID "16023"

    Plot.Layers.ActiveLayer.Shapes.SelectByPID(PIDName:="16023")

 

    'Change the selected shape to a polyline object (curve)

    Selection.AreaToCurve

 

    'Select a neighbor boundary with PID "16037"

    Plot.Layers.ActiveLayer.Shapes.SelectByPID(PIDName:="16037")

 

    'Combine the selection to a polygon incorporating the shared bored

    Selection.CurveToAreaSharingBorder

 

Used by: Selection collection