Jump to content

how get attributes name?


JorbWang

Recommended Posts

Hi odforce,

    i have a small problem,its confused me a few days.how can i get the attributes name use vex or python(vex is better,because im not familiar with python)?

    for example,i have a geometry with some point attirbutes like "v" "Cd" "mass" "aaa",and prim attributes like "prima" "primb".if i want create a new string attribute and store all the attributes,how do i achieve that?

Link to comment
Share on other sites

Hi Jorb, there are four detail intrinsic, as in the attached image ... which store what you need. You can access these intrinsic attributes with python or VEX. With VEX, you can access them like this:

s[]@pointattributes = detailintrinsic(0,"pointattributes");

 

image.thumb.png.fac3f1c71cf0130ae1ac28b08fa63829.png

 

  • Like 1
Link to comment
Share on other sites

16 minutes ago, ikoon said:

Hi Jorb, there are four detail intrinsic, as in the attached image ... which store what you need. You can access these intrinsic attributes with python or VEX. With VEX, you can access them like this:


s[]@pointattributes = detailintrinsic(0,"pointattributes");

 

image.thumb.png.fac3f1c71cf0130ae1ac28b08fa63829.png

 

it's all i want.THANK YOU Jiri!Cheers!

  • Like 1
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...