I hope you are not converting the array once per axis like in the snippet :)

It's way better to get all the data in one call and manage the data
re-shuffling on your own (i.e. python/jscript/vbscript/whatwever native
types), Softimage's calls are relatively expensive as there's a round trip
through win32com in order to make it talk with different interpreters, the
less you hit the SDK the better (generally speaking).


On Tue, May 3, 2016 at 11:12 PM, Fabricio Chamon <xsiml...@gmail.com> wrote:

> found it.
>
> pIndex = 0;
> rotation x  = pointcloud.ActivePrimitive.GetICEAttributeFromName("
> Orientation").DataArray.toArray()[pIndex].RotX
> rotation y  = pointcloud.ActivePrimitive.GetICEAttributeFromName("
> Orientation").DataArray.toArray()[pIndex].RotY
> rotation z  = pointcloud.ActivePrimitive.GetICEAttributeFromName("
> Orientation").DataArray.toArray()[pIndex].RotZ
>
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to