It looks, like Attribute dictionary classes derived from linked lists, but I can't understand at all, which way to work with them is good. Okay, we can use “find” method to find attribue by name, GB_Attribute* getHead() is useful too, to start attribute listing, but what we have to do, to get next attributes, following first? Using offsets, calculated from actual attribute data, or explicitly cast linked list nodes to GB_Attribute type, or what?
Thank you!
HDK: how to list attribute dictionary?
3312 3 0- JOEMI
- Member
- 128 posts
- Joined: July 2005
- Offline
- mrice
- Member
- 89 posts
- Joined: April 2008
- Offline
- edward
- Member
- 7773 posts
- Joined: July 2005
- Offline
I recommend using a GEO_AttributeHandleList. See its example usage here: http://www.sidefx.com/docs/hdk10.0/hdk_geometry_intro.html [sidefx.com]
- JOEMI
- Member
- 128 posts
- Joined: July 2005
- Offline
-
- Quick Links