Regarding the use of attributes created with Vex in Solaris

   543   2   2
User Avatar
Member
5 posts
Joined: 5月 2023
Offline
I have a question regarding how to manipulate attributes in Vex on Solaris.

Using Wrangle on Solaris,
I added a new attribute "name" to SceneGraphDetail using Wrangle on Solaris.

Code
-------------------------------------
string name = "aaa bbb ccc ddd eee";

s@name = name;
-------------------------------------

picture01 [drive.google.com]

I want to insert the attribute string added here for Primitives of another node.
(I want to refer to the value of the attribute as in SOP's point() expression)

picture02 [drive.google.com]

Is it possible for you to teach me how to do the above?

Also, if this is not the correct method, we would appreciate it if you could tell us the legitimate way.

Thank you in advance.

I'm useing Houdini version is Houdini19.5.605


Sorry for my poor English...
User Avatar
スタッフ
453 posts
Joined: 6月 2020
Offline
I'm not sure if there's a shorter way, but you can drop down to the Python API to do this.

Attachments:
ref.png (543.1 KB)

User Avatar
Member
5 posts
Joined: 5月 2023
Offline
This is the answer I was looking for!
Thank you for your help!
  • Quick Links