Named Object Library Properties

SIS Desktop has a set of Named Object Libraries which contain Named Object Library Classes. These Classes are used throughout Cadcorp SIS Desktop.

Named Object Library properties are set and queried using the SIS_OT_NOL constant and the GetFlt/GetInt/GetStr/GetProperty andSetFlt/SetInt/SetStr/SetProperty methods. 

The nObject& argument should be the index in the list of currently loaded Named Object Libraries of the required Named Object Library.

The GetNumNol method returns the total number of currently loaded Named Object Libraries.

Note: Named Object Library indices run from zero to one less than the number of currently loaded Named Object Libraries.

Named Object Library Properties

Note: Many of the properties below returned strings that are tab-separated; this is because object names may contain spaces.

  • Disabled: _bDisabled&
    Has the Named Object Library been disabled? Named Object Libraries which are disabled are not searched for Named Object Library Classes.

  • Modified: _bModified&
    Has the Named Object Library been modified?

  • Name: _name$
    The Named Object Library name. The Named Object Library names "(standard)" and "(temporary)" are special. All other Named Object Library names are filenames.

  • Named blocks: _listBlock$
    A tab-separated list of named Block objects in the Named Object Library.

  • Named brushes: _listBrush$
    A tab-separated list of named Brush objects in the Named Object Library.

  • Named coloursets: _listColourset$
    A tab-separated list of named Colour-set objects in the Named Object Library.

  • Named datums: _listDatum$
    A tab-separated list of named Geodetic Datum objects in the Named Object Library.
  • Named feature tables: _listFtable$
    A tab-separated list of named Feature Table objects in the Named Object Library.

  • Named filters: _listFilter$
    A tab-separated list of named Filter objects in the Named Object Library.

    Note: The returned string is tab-separated because object names may contain spaces.

  • Named graticule styles: _listGraticuleStyle$
    A tab-separated list of named Graticule Style objects in the Named Object Library.

  • Named items: _listLibItem$
    A tab-separated list of named Item objects in the Named Object Library.

  • Named loci: _listLocus$
    A tab-separated list of named Spatial Filter objects in the Named Object Library.

  • Named pens: _listPen$
    A tab-separated list of named Pen objects in the Named Object Library.

  • Named print templates: _listPrintTemplate$
    A tab-separated list of named Print Template objects in the Named Object Library.

  • Named projections: _listPrj$
    A tab-separated list of named Coordinate Reference System objects in the Named Object Library.

  • Named schemas: _listSchema$
    A tab-separated list of named Schema objects in the Named Object Library.

  • Named shapes: _listShape$
    A tab-separated list of named Symbol objects in the Named Object Library.

    Note: The returned string is tab-separated because object names may contain spaces.

  • Named themes: _listTheme$
    A tab-separated list of named Theme objects in the Named Object Library.

  • Named ToolBar definitions: _listToolBarDefn$
    A tab-separated list of named Toolbar Definition objects in the Named Object Library.

  • Named views: _listView$
    A tab-separated list of named View objects in the Named Object Library.

  • Owned: _bOwned&
    Is the Named Object Library owned?

    An OwnedNamed Object Library may be edited by the owner. Other users on a network will be able to see the Named Object Library but not gain ownership to it.

    A Named Object Library may be disowned to allow editable access to another user. You cannot disown a Named Object Library if it is the default Named Object Library, so you may have to change the default Named Object Library first. If you disown a modified Named Object Library without saving the changes then the Named Object Library will be re-read from the original file.

  • Size: _size&
    The amount of memory, in bytes, that the Named Object Library uses.

  • Type: _type&
    The type of the Named Object Library.

    Valid values are:

SIS_NOL_FILE The Named Object Library is file-based.
SIS_NOL_STANDARD The Named Object Library is the "(standard)" built-in Named Object Library.
SIS_NOL_TEMPORARY The Named Object Library is the "(temporary)" built-in Named Object Library.