attributecreate and delete SOP

   2842   3   1
User Avatar
Member
178 posts
Joined: 11月 2015
オフライン
Hi,

OK, so I created an attribute called cluster and assigned it $CB using attributecreate.

However, when I attempt to reference $CLUSTER in a delete SOP it gives me an error.

What am I missing?

Thanks,

Jim

Attachments:
createattribute_issue.hiplc (171.6 KB)
attribute_create_issue_08.png (104.9 KB)
attribute_create_issue_07.png (39.5 KB)
attribute_create_issue_06.png (43.9 KB)
attribute_create_issue_05.png (31.0 KB)

Reel Inpsirations
Houdini Work in Progress [vimeo.com]
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
HI jim,
You have not created Local Variable for claster attribute.
You can either enable “Local Variable” option in attribcreate1 node or use @cluster in delete1 node.
User Avatar
Member
178 posts
Joined: 11月 2015
オフライン
Thanks.

I tried checking that box before, but I think I used the default all UPPER CASE designation for the variable name.

I was watching a tutorial and they didn't check that box, so it threw me off.
Reel Inpsirations
Houdini Work in Progress [vimeo.com]
User Avatar
Member
1808 posts
Joined: 10月 2010
オフライン
in older tutorials, this would be the case, but it has changed in Houdini 15 (in favor of using the more direct @ syntax when possible)
-G
  • Quick Links