Predefined user attributes

Attribute name

Value returned

"**AutoCAD Clipping Rectangle**"

The area to auto-scale in AutoCAD units. As of Imagenation 5.0, 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".

Note that the user attribute is not added to the document if there are no external file dependencies.

*** Font File Dependencies ***

Lists the font files embedded in an AutoCAD file.

*** DWG Block name ***

Returns the block names and block handles in AutoCAD files.

*** DWG Block Attribute < block insert handle> ***

Returns the block attribute of the specified block and handle in AutoCAD files. Uses the DWG block name and handle information returned by "*** DWG Block name ***.

"**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**"

Image extents before auto-scaling for the specified AutoCAD layer, in AutoCAD units. Four values: x and y minimum, and x and y maximum. Uses the scaling information contained in the file if "**AutoCAD Clipping Rectangle**" is not set.

"*** Original Filename ***"

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

*** Original Page Margins ***

Extents of the specified margins in DWF files. Lower left margin distances, in inches, (x then y) relative to the lower left of the page, then the upper right margin distances relative to the upper right of the page

*** Original Sheet Size ***

Extents of the specified page for DWF files, in inches, of the width and the height.

*** 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 IN_SetUserAttribute.

*** Unresolved External File Dependencies ***

Lists the unresolved external file dependencies for AutoCAD files.

"**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 IN_SetUserAttribute.