How to get all the Properties of g2 figure?
I found that the function node->getNumProperties() can't give a complete Properties on g2 figure,any solution?
You currently have no notifications.
I found that the function node->getNumProperties() can't give a complete Properties on g2 figure,any solution?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
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