Predefined user attributes

 

The following user attributes can be requested. They are all string data types.

Attribute name

Value returned

**AutoCAD Clipping Rectangle**

The area to auto-scale in AutoCAD units. Four values: x and y minimum, and x and y maximum. Must be set by the client.

*** External File Dependencies ***

Lists the external file dependencies for AutoCAD files, such as images, Xrefs, and Xrasters. A sample reply could be "Image1.jpg""xref1.dwg""image2.jpg". Will be available in Release 5.2.

**Imagenation API File Extents**

Image extents of the specified layer in inches. Four values: x and y minimum, and x and y maximum.

**Original File Extents**

If the "AutoCAD Clipping Rectangle" is not set, uses what is in the AutoCAD file. If the "AutoCAD Clipping Rectangle" is set, uses the same values as that user attribute. Four values: x and y minimum, and x and y maximum.

*** Original Filename ***

Fully qualified file name of the specified document, page, or layer.

*** PDF User Password ***

Allows a user to enter a password to open encrypted PDF files in Imagenation. Its string value is the password. This user attribute should normally be deleted after viewing the file, to preserve password security.

**Scale Factor**

Scale factor of the specified layer.

UserID

Banner or stamp variable. Can be assigned a value using SetUserAttribute.

**User Info**

Raw Tag File Library data tags, up to 1024 bytes. These are tags associated with Spicer formats such as Spicer Document (*.smf), Spicer Multipage (*.das), and Spicer Multilayer Page (*.clf).

Other attributes can be created using SetUserAttribute.