Cadcorp SIS API Methods

TopoFloodFill Method

Description

Creates a Named Seed object by flood-filling Link Items within a dataset.

Syntax

Visual Basic
Public Function TopoFloodFill( _
   ByVal seed As String, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double, _
   ByVal nDataset As Long, _
   ByVal filter As String _
) As Integer

Parameters

seed
The name of the new Named Seed object.
 
x
The x coordinate of the position from which to flood-fill.
 
y
The y coordinate of the position from which to flood-fill.
 
z
The z coordinate of the position from which to flood-fill.
 
nDataset

The serial number of the topological dataset. The serial number can be obtained from the Dataset property of an overlay, or from the GetDataset, FindExternalDataset or TopoGetNamedSeedDataset methods.

filter
Optionally specifies a named Filter which all Link Items must pass to be considered as part of the flood-fill.

Return Type

True on success, False on failure.

Remarks

Available: GEO ME MD OD SISpy

Group:

Example

Fill = sis.TopoFloodFill ("Garden", Xpos, Ypos, Zpos, datasetID, "FenceFilter")


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).