Getting alembic frame range as an attribute
4349 3 1- AndyW
- Member
- 339 posts
- Joined: 12月 2014
- Offline
- krueger
- Member
- 191 posts
- Joined: 10月 2018
- Offline
I was looking for the same thing and this is working for me in python:
node = hou.node('/obj/geo1/alembic1') tree = node.infoTree() branches = tree.branches() info = "Alembic SOP Info" if info in branches : rows = branches[info].rows() start = "" end = "" for row in rows : if row[0] == "Start Frame" : start = row[1] if row[0] == "End Frame" : end = row[1] if start != "" and end != "" : print (start + " - " + end) else : print "No info available."
- geordiemartinez
- Member
- 45 posts
- Joined: 4月 2016
- Offline
- derrick
- スタッフ
- 332 posts
- Joined: 7月 2005
- Offline
-
- Quick Links