Jump to content

creating a string attribute on a point with python.


Recommended Posts


I keep asking those python question :)

Is it possible to creat a string attribute and set its value right from a node, like for example from a transform node appended after an "add SOP" creating one single point?

(I am trying to avoid adding an "attribCreate SOP" after my transform node. Please, do not ask why! :blink: )


Edited by Symbolic
Link to comment
Share on other sites

The only way that HOM can modify the geometry is through a Python Sop, so instead of an Attribute Create Sop you would have to use that. Alternatively, you could create one python operator that would create your point, create your attribute and then position it all in one go. Other than that those two things there really isn't anything you can do.

Link to comment
Share on other sites


well my porblem is that I hava a point. Then I have a transform node after that point. And the "attribcreate" after the the transform node is storing the name of the transform node as a string attribute on the point. So when I need to read a channel from that transfer node later I am using this attribute to address the transform node. The problem is that this string attribute does not update on the fly if the transform node's name is changed. I know it sounds stupid... :) and over complicated. I am just trying something...

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.

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...