Working with Named Object Libraries

Creating new libraries

Opening existing libraries

Current library

Removing libraries from the Libraries Control Bar

Shared libraries

Library search order

Saving libraries

Creating new named objects

Customising NOLs

Creating new libraries

To create a new library, either:

or

Back to top of page

Opening existing libraries

An existing library may be opened by any of the following methods:

Current library

New named objects you create are placed in the current library. The current library is highlighted in bold in the Libraries Control Bar.

By default the temporary library will be current. To make another library current, highlight the required library and select Make Current from its local menu.


Folders are automatically created for each category of named object (pen, brush, symbol, filter, etc.). You can create folders within these by clicking on the existing folder name and selecting New Folder from the local menu.

Back to top of page

Removing libraries from the Libraries Control Bar

To remove a library, select the library to be removed in the Libraries Control Bar and use the local command Remove.

You cannot remove the (standard) library.

If there are any unsaved changes to the library, you will be asked whether to save them before the library is closed.

Back to top of page

Shared libraries

Libraries can be shared over a network, and several users may have read-access to them at the same time. Only one person has write-access, and this person is called the owner.

To gain write-access to a library, select Lock from the library’s local menu in the Libraries Control Bar. This will make you the owner.

You can only select Lock if no other user is currently the owner. You are automatically given the up-to-date version of the library file, including all changes made by other users.

To relinquish ownership and allow other users to write to this library, select the library’s local command Unlock.

Back to top of page

Library search order

When SIS displays a map, it searches the Named Object Libraries in turn for the Pens, Brushes or SymbolNamed Object Library Classes used by items. If two or more Named Object Library Classes exist in several Named Object Libraries, the order of the Named Object Libraries in the tree becomes significant. Named Object Libraries may be re-ordered using  Promote and  Demote in the Libraries Control Bar.

The default NOL is always searched first, followed by the other Named Object Libraries in the listed order. If a Named Object Library is disabled, then it is skipped. Named Object Libraries are enabled and disabled using the Enabled command in the Libraries Control Bar.

Changing the order in which libraries appear in the list

  1. Select the library to be moved in the list.

  2. From its local menu select Promote to move it up one place in the list, or Demote to move it down one place in the list.

Excluding libraries from the search

Only enabled libraries are searched. You can exclude a library from a search by either:

Alternatively, you can remove the library from the list completely by selecting Remove.

Back to top of page

Saving libraries

All editable libraries which have changed during a working session, are automatically saved at the end of that session (except (temporary) which is always emptied).

Alternatively, you can save a library at any time during the session using the local command Save.

If you remove a library from the current session, you are asked whether to save any changes made in the current session.

Additionally, libraries are saved whenever the workspace is saved (as long as the library is on the same disk). Workspace files also prompt to be saved if they detect changes to the library setup.

To make your own NOL file into part of the (standard) NOL you can place your own NOL file into C:\Program Files\Cadcorp SIS 8.0\Libraries. Any Named Object Library Classes in the NOL will be presented as part of the (standard) NOL.

If you select the Save Copy As... option in the above local menu the Save Copy As dialog is displayed:

The Save as type drop-down box allows you to save the NOL in native SIS format or SIS V6 format if required.

Back to top of page

Creating new named objects

With all named objects, you can create an editable copy of an existing object and place it in an editable library:

  1. In the (standard) library, select the object to copy, and use its local command Copy.

  2. In an editable library, use the local command Paste.

  3. Rename the new editable object, using its local command Rename.

  4. Use its Properties... command to edit it as required.

Some types of named object are also created using other methods - for details see the relevant sections of this Help. In these cases, the new named object is automatically stored in the current library.

For example, some types of named object are created using specialist commands (e.g. Block [CAD-Blocks & Inserts]).

Some use the Libraries local command New Object...

Naming objects

Named objects can have names of any length, which can be a mixture of upper and lower case characters. (However, note that when looking at lists of objects, you may see only the first few characters of their names.)

You can use most characters on the keyboard (e.g. -, _, @, and so on), but you cannot use the Backslash, tab or Escape characters. An asterisk (*) at the beginning of the name makes the object invisible in the user interface.

The dot character (.) is used to separate library folders (similar to the way the backslash character is used in Windows to separate folders), and so should also be avoided.

Working with the named objects in the Libraries Control Bar

Using the folder’s local menu, you can transfer entire folders between libraries via the clipboard.

You can delete an entire folder using the folder’s local command Delete.

You can create new folders as sub-divisions of the main folder, using the local command New Folder.

Remember that the (standard) library is read-only, and therefore some of these operations are not allowed.

Editing objects

The local command Properties... takes you to the relevant dialog for viewing and editing the properties of the object. For example, in the case of a pen, you see the Edit Pen dialog; in the case of a projection, you see the Coordinate Reference System dialog, etc.

Back to top of page

Customising NOLs

The (standard) library consists of all the NOL files in the SIS Libraries folder. These NOLs can be copied, renamed, edited or removed and new NOLs can be added to this folder. Once SIS is restarted these updated NOLs will become inserted into the read-only (standard) library. 

Note: It is important to monitor the size of a NOL file over time. NOL files are loaded into memory at the start of the session, therefore if they grow in size this will use up memory on the client computer. It is important to make sure that print templates and symbols do not use high resolution graphics that could cause memory issues.


Top of page

Send comments on this topic.

Click to return to www.cadcorp.com

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