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
2016-05-03 9:53 GMT-03:00 Fabricio Chamon <xsiml...@gmail.com>: > sorry or the confusion..StructureType being 1 is correct as the context > is per point(particle). But suddenly pointcloud.ActivePrimitive. > GetICEAttributeFromName("Orientation").DataArray.toArray() is giving me a > type mismatch error when it previously worked. > > 2016-05-02 18:43 GMT-03:00 Fabricio Chamon <xsiml...@gmail.com>: > >> hey gang, >> >> in Soft 2014 I had this line of .js code: >> >> >> pointcloud.ActivePrimitive.GetICEAttributeFromName("Orientation").StructureType >> >> that returned -> 2 (*siICENodeStructureArray*) >> >> now in Soft 2015 it returns-> 1 (*siICENodeStructureSingle*) >> >> any hints? How may I access the particles orientation array ? >> >> thanks a lot! >> >> >
------ Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.