8 December 2009

VISRETAIN, controlling the display of Xrefs

One fairly common question we get asked is from people who have inserted Xrefs into their charts and then subsequently changed colours, linetypes, layer settings etc. within the Xref. However, when viewing the Chart drawings, these changes to the Xref don’t appear to have been applied.

The solution lies within the AutoCAD drawing variable VISRETAIN

If VISRETAIN is set to 1, then the layer attributes set in the main Chart drawing rather than the Xref will be used. If you change VISRETAIN to 0 in the Chart Series drawings, then the layer attributes set in the Xref will take precedence.

The settings are fully explained in the extract below, taken from the AutoCAD Help file:

The VISRETAIN setting can be applied over multiple Chart Drawings using the AutoChart Batch LISP Processor command with a LISP file containing the following command:
(Command "VISRETAIN" 0)

Alternatively, if you set the appropriate VISRETAIN value within your Chart Template prior to creating the Charts, then the correct setting will be automatically applied.

No comments: