All currently loaded xref display sessions.
A snapshot array of active sessions (order is map iteration order).
StaticinstanceReturns the shared AcApXrefManager singleton.
The process-wide xref manager instance.
Loads a DWG/DXF as a read-only overlay and registers a session.
Does not mutate the host database — callers create BTR/INSERT separately. If a session already exists for AcApXrefAttachOptions.blockName, it is unloaded first.
Overlay source, block name, and optional transform / INSERT link.
The newly registered AcApXrefSession.
Drops every reference session and overlay (e.g. before opening a new document).
Looks up a session by its unique id.
Session id previously returned by attachOverlay.
The matching session, or undefined if not found.
Looks up a session by the host block-table record name.
Host BTR name associated with the xref.
The matching session, or undefined if not found.
Shows or hides an xref overlay by session id.
Session id of the overlay to update.
Desired visibility state.
true if the session exists and visibility was applied; otherwise false.
Shows or hides an xref overlay by host block-table record name.
Host BTR name associated with the xref.
Desired visibility state.
true if a matching session exists and visibility was applied; otherwise false.
Removes overlay geometry and clears the session map entry.
Host BTR/INSERT are left untouched (Unload semantics).
Session id to unload.
true if the session existed and was removed; otherwise false.
Unloads an xref overlay by host block-table record name.
Host BTR name associated with the xref.
true if a matching session existed and was unloaded; otherwise false.
StaticcreateCreates an empty xref block-table record and INSERT on the host database.
Source entities are intentionally not bound into the BTR; geometry is shown via a separate overlay session managed by this class.
Host drawing database that receives the BTR and INSERT.
Name for the new xref block-table record.
Path stored on the BTR (pathName property).
Position, scale, and rotation applied to the INSERT.
Optionalorigin: AcGeVector3dLikeOptional block origin for the xref BTR.
The created block-table record and block reference.
Manages read-only reference drawing sessions overlaid on the active document.
XATTACH and the External References palette should go through this manager instead of binding source entities into the host database.