csp Posted February 20, 2014 Share Posted February 20, 2014 Is there any way to tell if input node (lets say a null) holds a vdb or volume, using either python or hscript? Quote Link to comment Share on other sites More sharing options...
symek Posted February 20, 2014 Share Posted February 20, 2014 for prim in geo.prims(): if prim.type() == hou.primType.Vdb: pass // some action elif prim.type() == hou.primType.Volume: pass // some other action Quote Link to comment Share on other sites More sharing options...
csp Posted February 20, 2014 Author Share Posted February 20, 2014 for prim in geo.prims(): if prim.type() == hou.primType.Vdb: pass // some action elif prim.type() == hou.primType.Volume: pass // some other action Thanks symek, I forgot about prim.type() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.