All Cadcorp SIS API Methods

NolCatalog Method

Description

Lists all of the objects of a given class in all of the Named Object Libraries (NOLs).

Syntax

Visual Basic
Public Function NolCatalog( _
   ByVal aclass As String, _
   ByVal bCurOnly As Integer _
) As String

Parameters

aclass
The class of named object to list.
aclass  Object class
ABlock   Block
ABrush   Brush
AColourset   Colourset
ADatum   Geodetic Datum
AFilter   Filter
AFtable   Feature Table
AGraticuleStyle   Graticule Style
ALibItem   Item
ALocus   Spatial Filter
APen   Pen
APrintTemplate   Print Template
APrj   Coordinate Reference System
ASchema   Schema
AShape   Symbol
ATheme   Theme
AToolBarDefn   Toolbar Definition
AView   View
 
bCurOnly
True    Only return objects from the current NOL.
False    Return objects from all NOLs.

Return Type

A tab-separated list of named objects.

Remarks

The returned string is tab-separated because object names may contain spaces. The aclass strings "APstyle" and "ABstyle" are recognised for backwards compatibility (now "APen" and "ABrush" respectively).

Available: GEO D OD OM OV SISpy

Group:

Example

sis.NolCatalog ("ABrush", False)