COS Script Functions
This section describes COS functions that can be called from scripts. These functions provide services that allow a script to access object data stored in the COS database.
For an example of how to use COS script functions to access COS database data, see the script %PMS_HOME%\dm\macro\Examples\CosListObject.mac. This script serves as a simple data viewer for debugging as it lists the contents of the selected COS object of the selected type, and automatically displays the list in Notepad:
- COS properties of the object.
- Attributes of the object.
- References to and from this object.
- The data section as text. (For some binary COS object types this can be a problem, for example icons are binary.)