Jump to content

Issue while creating atribute


SteveNi

Recommended Posts

Hi

Screenshot_1.jpg

I need to initialize an attribute in a wrangle wich runs in Detail mode (only once), so I cant simply write " i@status; ", thats why I thought to use a for loop and the setattrib() function, but that code does not create any attribute on the points...why is this happening?

Thanks

Link to comment
Share on other sites

Well that's not how wrangle works. Why wouldn't just write i@status; work? Detail is per object, not per point.

 

edit: on the bottom left you are looking at the points attributes, you have to switch to detail attributes.

Edited by sasho78
Link to comment
Share on other sites

Quote

Well that's not how wrangle works. Why wouldn't just write i@status; work? Detail is per object, not per point.

Oh yea...I forgot it.

Quote

You need to use addattrib(). Setattrib() can only set the values but not create an attribute.

Thanks sometimes I cant remember even simple stuff like this.

Thanks guys.

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