Get List of all Attribute Names on Geometry?

   352   2   1
User Avatar
Member
1007 posts
Joined: April 2017
Offline
Hi,

I would like to get all attribute names found on the points of my geo. I would also like to have a drop-down menu automatically populated with all the attribut names found.

Any ideas?

-Olivier
Edited by olivierth - Feb. 13, 2024 14:27:10
User Avatar
Member
1007 posts
Joined: April 2017
Offline
ok, I got a forum post with the drop-down menu stuff. I just need to figure out how to get a list of all attribut names.

https://www.sidefx.com/forum/topic/93685/#post-408934 [www.sidefx.com]
User Avatar
Member
8555 posts
Joined: July 2007
Online
hou.Geometry.pointAttribs()
hou.Geometry.primAttribs()
...

But you can also use

hou.Geometry.generateAttribMenu()

To directly get menu list of all attributes according to specified criteria which allows you to filter then

https://www.sidefx.com/docs/houdini/hom/hou/Geometry.html [www.sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links