Hi, I'm a fairly new user, trying to find a way to iterate over the attributes on a given point or prim in python.
Or at the least, determine if a given attribute exists. Any advice?
How to get a list of attributes on a point, prim, etc?
3002 2 0- louis3butler
- Member
- 1 posts
- Joined: April 2020
- Offline
- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
Attributes are strictly linked to the geometry, so you want to search through the hou.Geometry() class
https://www.sidefx.com/docs/houdini/hom/hou/Geometry.html [www.sidefx.com]
You'll find both methods for retrieving the list of attributes and for checking the existence of a specific attrib;
https://www.sidefx.com/docs/houdini/hom/hou/Geometry.html [www.sidefx.com]
You'll find both methods for retrieving the list of attributes and for checking the existence of a specific attrib;
- mestela
- Member
- 1736 posts
- Joined: May 2006
- Offline
-
- Quick Links