Share

AcDbXrefGraph

Class Hierarchy

AcHeapOperators
    AcDbGraph
        AcDbXrefGraph

C++

class AcDbXrefGraph : public AcDbGraph;

File

xgraph.h

Description

AcDbXrefGraph is a derived class for representing xrefs, using the AcDbXrefGraphNode class to represent one xref database at each node.

An AcDbXrefGraph is a representation of the relationship between a host drawing, its xref'ed drawings, and any nested xref drawings. Each database or xref block table record is represented by an AcDbXrefGraphNode in the graph. The host drawing is always the rootNode. Each reference (between databases) is represented by an edge in the graph, and can be queried by calling AcDbGraphNode::in(idx) for what is referencing this node, and AcDbGraphNode::out(idx) for what this node references.

While there can be more than one AcDbBlockReference referencing an xref AcDbBlockTableRecord, only one corresponding edge is created between each XrefNode.

Links

AcDbXrefGraph Methods

See Also

AcDbXrefGraphNode, AcDbGraph, AcDbGraphNode

Was this information helpful?