How to get all the Properties of g2 figure?
![578276864_563542692c](https://secure.gravatar.com/avatar/5e33fb05b04588e06d267f7325861e36?&r=pg&s=100&d=https%3A%2F%2Fvanillicon.com%2F5e33fb05b04588e06d267f7325861e36_100.png)
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