How to get all the Properties of g2 figure?
578276864_563542692c
Posts: 31
I found that the function node->getNumProperties() can't give a complete Properties on g2 figure,any solution?
Comments
Some properties are on the object of a node, if it has an object.
node->getObject()->getNumProperties()
As there may be properties owned by any DzElement derived class, if your aim is to get at all properties associated with a given node, I would suggest using DzPropertyGroupTree (see DzElement::getPropertyGroups()) and recursively iterating over the DzPropertyGroup hierarchy. The Node Properties script sample shows the gist of how they are used.
-Rob