nmn Posted April 20, 2010 Share Posted April 20, 2010 Hi everyone, How can I access an attribute that I created in a python SOP, in any other node of the network ? let us say in my python sop i have something like: myAttrib = geo.addAttrib(hou.attribType.Prim, "myAttrib", '') poly = geo.createPolygon() poly.setAttribValue(myAttrib,someVariable) and then after my python SOP I added a primitive node and I want to access this attribute ... I tried $MYATTRIB didn't work I tried the prim function it didn't work even though I can see this attribute in my details view with all its values correctly set ... any ideas about that ? Cheers Quote Link to comment Share on other sites More sharing options...
graham Posted April 20, 2010 Share Posted April 20, 2010 Check out this thread from a month and a half ago: Quote Link to comment Share on other sites More sharing options...
nmn Posted April 20, 2010 Author Share Posted April 20, 2010 Check out this thread from a month and a half ago: http://forums.odforc...dpost__p__69296 Thanks graham exactly what I needed Cheers 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.