Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:mswindows_notes [2026-01-29 Thu wk05 05:49] – [Line Weights] baumkphome_server:mswindows_notes [2026-01-29 Thu wk05 06:29] (current) – [XREF Layer control] baumkp
Line 481: Line 481:
   *Corrupted AutoCAD profile.   *Corrupted AutoCAD profile.
   ***Changes are being made in paper space**   ***Changes are being made in paper space**
 +
 +''VISRETAIN''
 +^Value ^Descritption ^
 +|0 |The layer table, as stored in the reference drawing (xref), takes precedence. Changes made to xref-dependent layers in the current drawing are valid in the current session only and are not saved with the drawing. When the current drawing is reopened, the layer table is reloaded from the reference drawing, and the current drawing reflects all of those layer property settings.|
 +|1 |Xref-dependent layer changes made in the current drawing take precedence. Layer settings are saved with the current drawing's layer table and persist from session to session. **(default)**|
 +
 +''VISRETAINMODE''
 +
 +Controls the behavior of the VISRETAIN system variable when it's set to 1.
 +
 +Use this system variable in conjunction with the VISRETAIN system variable to control which xref layer properties that you want to automatically sync on reload.
 +
 +Note: Xref layer properties with overrides are not synced when the xref is reloaded. To clear any overrides, use the shortcut menu option, Reset Xref Layer Properties For, on the Layer Properties Manager.
 +
 +^Value ^Description ^
 +|0 |No settings are synchronized. You will have the same experience when you set VISRETAIN to 1 in AutoCAD 2017 or earlier.  **(default)**|
 +|1 |On/Off synchronized. |
 +|2 |Freeze/Thaw synchronized. |
 +|4 |Lock/Unlock synchronized. |
 +|8 |Plot/No Plot synchronized. |
 +|16 |Color synchronized. |
 +|32 |Linetype synchronized. |
 +|64 |Lineweight synchronized. |
 +|128 |Transparency synchronized. |
 +|256 |Plot style synchronized. |
 +|512 |New VP Freeze synchronized. |
 +|1024 |Description synchronized. |
 +To specify more than one layer property to sync, enter the sum of the bitcode values. For example, a value of 3 specifies that both the On/Off (1) and Freeze/Thaw (2) layer properties will automatically sync when the xref is reloaded.
 +
 +''XREFOVERRIDE''
 +
 +Controls the display of object properties on referenced layers.
 +
 +The XREFOVERRIDE system variable affects display and plotting, and works in conjunction with the VISRETAIN system variable. If you want the xref layers to retain their original layer settings, it is recommended to set VISRETAIN and XREFOVERRIDE system variables to 0.
 +
 +^Value ^Description ^
 +|0 |When the properties of the objects (such as color, linetype, lineweight, transparency, or plot style) on the external reference drawing are set to ByLayer, any changes to the xref layer properties are displayed in the current drawing (legacy behavior) **(default)**|
 +|1 |When the visual properties of the objects on the external reference drawing are not set to ByLayer, objects on xref layers are treated as if their properties are set to ByLayer and every external reference layer can have its own set of layer overrides |
 +
 +Note: The XREFOVERRIDE system variable only applies to DWG xrefs, not to other references such as underlays.
 +
 +**References**
 +  *Autodesk:
 +    *[[https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Modified-xref-layers-are-not-updating-with-Reload.html?msockid=3252c0c437986e992b7dd21936096f31|Modified Xref layers do not update in the host drawing when the Xref is reloaded in AutoCAD products]]
 +    *[[https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-897B1672-4E09-42E0-B857-A9D1F96ED671|VISRETAIN (System Variable)]]
 +    *[[https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-46480687-6DFF-499E-B7C0-E741AEA11D00|VISRETAINMODE (System Variable)]]
 +    *[[https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-131E3BBB-A28A-40BC-BDC5-A4486C1E2DBE|XREFOVERRIDE (System Variable)]]
 +    *[[https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-DEB2A4C9-8C16-4EC9-8392-1BF8ED2A383A|Layer Settings Dialog Box (Layer Properties Manager)]] LAYER (Command) {{:home_server:guid-17e48045-1f9a-4b8d-b2de-01b2b8da4c4e.png?24|}}: Layer Settings {{:home_server:guid-742d2bd9-aa09-4ec4-8860-86a56e7bea7a.png?24|}}
 +    *[[https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-B297EBD9-D68C-47E1-87CE-1B3798496599|Layer Properties Manager]] LAYER (Command) {{:home_server:guid-17e48045-1f9a-4b8d-b2de-01b2b8da4c4e.png?24|}}
 +  *[[https://www.howtoautocad.com/visretain-xrefs-not-saving-layer-states|VISRETAIN - Xrefs not saving layer states]]
 ======Accessibility Contract Checker====== ======Accessibility Contract Checker======
 Form versus function, unfortunately the moronic types seem to favour form over function.  Contrast of text is particularly important to allow easier reading. Form versus function, unfortunately the moronic types seem to favour form over function.  Contrast of text is particularly important to allow easier reading.