Share

acedGetCurDwgXrefGraph

C++

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

File

xgraph.h

Description

This function 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.

Returns Acad::eOk if successful.

Parameters

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

Was this information helpful?