Need to read SRT's from particles


#1

Hey guys.

Trying to make a little script with vbscript to help out with some repetitive stuff, but I can’t manage to read the position, rotation, or scale values from the particles.

I tried referenceing icetree.particle[x]/posx/rotx/sclx as a value to be given to another variable, and also tried pointcloud.particle[x].posx/rotx/sclx.

Also, I tried the SITransformations.getRotations with no luck.

I think my logic is sound here, I just don’t know how to read particle SRT’s?


#2

Haven’t tried this myself but the docs might help you in this case:

http://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/index.html?url=si_om/ICEAttribute.html,topicNumber=si_om_ICEAttribute_html


#3

hmm. well I don’t know. because I’m trying to make a script utilising vbscript from within the softimage api, and c++ plugs into the softimage api, which would complicate the process alot if I were to start doing that I think?

Thank you very much for the link though, gonna try look into it properly. :slight_smile:

ps. is this lonely corner of the softimage forum so dead coz ICE took over? :stuck_out_tongue:


#4

Well most people are either on si-community.com or on the mailing list these days.


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.