Hello Gang,
Im afraid this is very basic, nevertheless stuck at it.
Ive created a Prim. Attribute using Attribute Create node. Set as follows:
Group type: Primitive, Name: MyCount, Class: Primitive, Type: Integer, Size:1, Default:1, Value:1, Write and Local Values checked.
Im unable to find a way to get the value of the attribute into the Layer Name parameter field.
Tried: @MyCount, $MyCount
Heres a screen grab, any insights would be mostly appreciated as usual!
Fetching Custom Primitive Attribute into a Agent Layer name ?
1333 1 1- axelsp
- Member
- 100 posts
- Joined: Sept. 2006
- Offline
- axelsp
- Member
- 100 posts
- Joined: Sept. 2006
- Offline
Found this post from Master Graham:
https://www.sidefx.com/forum/topic/14240/?page=1#post-67337 [www.sidefx.com]
`prim(opinputpath(“.”, 0), 0, “MyCount”,0)` is the way of the future
Cheers!
https://www.sidefx.com/forum/topic/14240/?page=1#post-67337 [www.sidefx.com]
`prim(opinputpath(“.”, 0), 0, “MyCount”,0)` is the way of the future
Cheers!
-
- Quick Links