Attribute Create
3353 13 1- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
Hi,
Im trying to understand attribute create sop and I have created one, named it, set the local variable to $TY<4 to catch the position of a box falling. I would like to color this box when the position is less than 4. How do I access this attribute in lets say the color sop or the point sop to color it?
Stig
Im trying to understand attribute create sop and I have created one, named it, set the local variable to $TY<4 to catch the position of a box falling. I would like to color this box when the position is less than 4. How do I access this attribute in lets say the color sop or the point sop to color it?
Stig
- goldfarb
- Staff
- 3455 posts
- Joined: July 2005
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
Your'e referencing your attribute with small letters “$ypos4” but its passed down the stream in capital letters “$YPOS4”. See the attachment.
When “Local Variable” on the Attribute Create is empty, the “Name” is capitalized. If you set “Local Variable” to some value, then that will become the name of the Attribute, exactly as you wrote it.
-b
When “Local Variable” on the Attribute Create is empty, the “Name” is capitalized. If you set “Local Variable” to some value, then that will become the name of the Attribute, exactly as you wrote it.
-b
- stigolsen
- Member
- 80 posts
- Joined: Aug. 2013
- Offline
What you say makes sense, but I think this is a bug in my system.
I have changed from capital letters, but I end up with a “red” node, and when MMB clicking on it it tells me that its unable to evaluate the expression and points to the diffr that you mentioned in an earlier post. I have tried to delete and add a new point sop but still.
I have changed from capital letters, but I end up with a “red” node, and when MMB clicking on it it tells me that its unable to evaluate the expression and points to the diffr that you mentioned in an earlier post. I have tried to delete and add a new point sop but still.
-
- Quick Links