|
Hi Francois,
Unfortunately the only Object that natively supports the operator stack reading is the Primitive (with the ContructionHistory property). However you can use the EnumElements command (or the NestedObject property if you're using XSI 5) to get all the children of any object, including Weightmaps, then filter the results by ClassName: if they are Operators you should have the operator stack in the right order.
Might be worse doing some testing though... Hope this helps,
Aloys
On 20/01/06, Francois Lord <
francoislord(at)gmail.com> wrote:Does anyone know how to figure where an operator is reading in the stack
(like the tooltip for TextureOps) in scripting? I need to know that for any kind of operator that can be applied on ClusterProperties (TextureOp, Weight Map Generator, Weight painter, Automatic Envelope Assignment, etc.).
I'm writing a SceneCleaner plugin, and I want to freeze some operators automatically. For example, an Automatic Envelope Assignment operator should always be frozen if there are no other operators under it (unless
you're working with a very whacked-up rig). I just can't figure if there are operators under it.
Any Idea? --- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
-- Aloys Baillet - XSI Technical Director Character Dpt - Animal Logic --
|