Jump to content

particles and python


Cannoth

Recommended Posts

Ok, so its late and my brain hurts. Hopefully this will be an easy question for all you fantastic people.

I'm writing my first python script to deal with some particles.

#cycle through all particle points

for checkPoint in geo.points():

#Want to evaluate the current particle's ID number

currentID = !!what do i type to get that value!!!

I haven't seem to be able to find the answer to that. So i'm turning to you guys :)

Thanks,

C

Link to comment
Share on other sites

Thanks for the reply. I was close to getting it right.

New question for you guys. In the process of writing this script, I'm implementing it through creating a New Operator Type.

The operator only wants to be brought into the sopnet not the popnet. Can I not make a python node inside a popnet?

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