All Cadcorp SIS API Methods

TraceGeom Method

Description

Creates a LineString item by tracing geometry from the current open Item.

Syntax

Visual Basic
Public Function TraceGeom( _
   ByVal nGeom As Long, _
   ByVal arclenStart As Double, _
   ByVal arclenEnd As Double, _
   ByVal offset As Double, _
   ByVal bAllowSelfIntersections As Integer _
) As Integer

Parameters

nGeom
The index of the geometry component, starting at 0. Use GetNumGeom to get the number of geometry components in an Item.
 
arclenStart
The length along the geometry component from which to start the trace.
 
arclenEnd
The length along the geometry component at which to end the trace.
 
offset
The offset from the geometry component at which to create the LineString item.
 
bAllowSelfIntersections
True Allow the traced, offset LineString item to contain self-intersections.
False Remove any self-intersections from the traced, offset LineString item.

Remarks

Available: GEO D OD SISpy

Group:

Example

sis.TraceGeom (0, 20, 100, 0, False)