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


Grigori's picture

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.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.