Share

AcDbXrefGraphNode

Class Hierarchy

AcHeapOperators
    AcDbGraphNode
        AcDbXrefGraphNode

C++

class AcDbXrefGraphNode : public AcDbGraphNode;

File

xgraph.h

Description

AcDbXrefGraph is a derived class for representing an xref. Each AcDbXrefGraphNode represents one xref database.

An AcDbXrefGraph is a representation of the relationship between a host drawing, its xref'd drawings, and any nested xref drawings. Each database or xref BlockTableRecord 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

AcDbXrefGraphNode Methods

See Also

AcDbXrefGraph, AcDbGraph, AcDbGraphNode

Was this information helpful?