Share

acedGetCurDwgXrefGraph

C++

ACCORE_PORT Acad::ErrorStatus acedGetCurDwgXrefGraph(
    AcDbXrefGraph&, 
    Adesk::Boolean includeGhosts = Adesk::kFalse
);

File

xgraph.h

Description

Fills in graph with a completed graph of the current drawing's xrefs.

Ghosts references appear when there are unresolved xrefs in a drawing. Ghosts are an unresolved xref's last known outgoing references (that is, its nested xrefs.) To determine outgoing references of a node, see the AcDbGraphNode::numOut() and AcDbGraphNode::out() methods.

There is no distinction between ghost references and non-ghost references in the graph. However, any outgoing edge of a node that is not AcDb::kResolved is a ghost reference.

Parameters

Parameters Description
includeGhosts Input bool indicating whether ghost references should be included in the graph
unnamed Input AcDbXrefGraph object to be filled in

Returns

Returns Acad::eOk if successful.

Previous Declaration

AutoCAD 2025 and Earlier

Acad::ErrorStatus acedGetCurDwgXrefGraph(AcDbXrefGraph&, Adesk::Boolean includeGhosts = Adesk::kFalse);

Was this information helpful?