Jump to content

want to store an attribute for some objects in 'foreach' loop


Valent

Recommended Posts

I think the problem here is that the values in the array gets overwritten by the insert function somehow. As the documentation says "the function will fill the gaps with uninitialized values (for example, or the empty string)".

Building it that way, at the moment I have no idea how to solve it. Even using the push function and adding elements to the array, doesn't work. Maybe you can store the height as prim/point attribute and add them later to the array?

  • Like 1
Link to comment
Share on other sites

  • Valent changed the title to want to store an attribute for some objects in 'foreach' loop

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