Jump to content

Getting path values in Python


craigls

Recommended Posts

IM trying to get the paths of all the geometry from and alembic I threw into a convert node,

and print them out.

Not working though, can someone help?

 

this =hou.pwd()
print (this)
geo = hou.node(this.path() + '/obj/geo1/Splitter/convert1')
print (geo)
path = geo.attribValue('path')
print (path)
    
 

Link to comment
Share on other sites

  • 2 weeks later...

Thanks Animatrix, I tried what you suggested, but Im getting an error that the node object has no attribute 'geometry'

 

I have put an unpack node under the alembic, and set the display flag to it.

Edited by craigls
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...