Cadcorp SIS API Methods

DefineNolObject Method

Description

Creates a named object in a Named Object Library from an implicit string, replacing any object with the same name. This method is used to create named Brush, Colour-set, Pen and Coordinate Reference System objects.

Implicit strings can be queried from existing named objects using GetImplicitNolObject.

Syntax

Visual Basic
Public Function DefineNolObject( _
   ByVal aclass As String, _
   ByVal aname As String, _
   ByVal implicit As String _
) As Integer

Parameters

aclass
The class of named object to be queried. Valid classes are:
ABrushBrush
AColoursetColour-set
APenPen
APrjCoordinate Reference System
AFtableFeature Table
AThemeTheme
 
aname
The named object to create, or replace.
 
implicit
The implicit string which defines the object. See Brush, Colour-set, Pen, Coordinate Reference System, Feature Table and Theme for descriptions.

Remarks

DefineNolObject supports implicit feature table strings, in JSON (see http://json.org) and XML formats.

Available: GEO ME MD OD SISpy

Group:

Example

sis.DefineNolObject ("ABrush","Parish","Brush1")


Send comments on this topic.

Click to return to www.cadcorp.com

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