Jump to content

Creating a group foo and referring to it using @foo?


Krion

Recommended Posts

Hey,

 

I was reading a bit of the documentation, and i found this:

This is very similar to groups: using @name=foo is similar to creating a group foo and referring to it using @foo

http://www.sidefx.com/docs/houdini/nodes/sop/name.html

And i started wanting to try to play with this notion here that you can refer to a group foo by using @foo.. But it didn't seem to work for me. It just created an new attribute.

 

I am trying to understand this. Can anyone help me?

 

 

basicstuff.hipnc

5c756b05ca217_Screenshot2019-02-26at17_35_42.png.16843a6dbecafbdf654e2f18e7426fdf.png

Edited by DévinOdforce
Link to comment
Share on other sites

Hm, allright. Nice to know that, thanks. Does the i stand for integer? 

Ah i see, you can only have 0 and 1 as value of a 'group attribute'.. Either in the group, or not. A group is not like a 'real' attribute. Right?

Still curious if someone knows why they say you can refer with @foo to a group.

Edited by DévinOdforce
Link to comment
Share on other sites

37 minutes ago, DévinOdforce said:

Still curious if someone knows why they say you can refer with @foo to a group.

looks like a typo to me, I think it should have been: using @name=foo is similar to creating a group foo and referring to it using foo

as in the group fields you refer to groups just by name

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