For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

XCAFDoc_GraphNode

Grigori's picture
Forums: 

I tried to attach XCAFDoc_GraphNode in this way:
Handle(XCAFDoc_GraphNode) graph = XCAFDoc_GraphNode::Set(Doc->Main());
Where Doc->Main() is pointer to TDF_Label of my shape.
Fuctions: graph->NbFathers();graph->NbChildren();
return 0 for NbFathers and NbChildren. So I don't know what to do. May be I attached wrong XCAFDoc_GraphNode?

Grigori's picture

Sorry the problem was that I must use TDataStd_TreeNode class.