RE: AddScriptedOp Question

Date : Thu, 26 Oct 2006 15:48:23 +0100
To : <XSI(at)Softimage.COM>
From : "Kim Aldis" <XSI(at)kim-aldis.co.uk>
Subject : RE: AddScriptedOp Question
Have you tried using the plugin wizard Oz?

> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> Behalf Of Oz Adi
> Sent: 26 October 2006 15:22
> To: XSI(at)Softimage.COM
> Subject: Re: AddScriptedOp Question
> 
> ok, found a solution, just not sure it's how it "should" be done..
> 
> I added the auxiliary code using a concat string method... so now it's
> out of the update function..
> 
> 
> Oz Adi wrote:
> > Hi,
> >
> > I am trying to apply a scripted op from a script.
> > The problem is that the **original** scripted operator, has also some
> > code in the "Auxiliary Editing Pane",
> > and when applying the scripted op using AddScripedOp, it places the
> > main code as a function in the "Auxiliary Editing Pane", and adds
> > a line to call it from the "Main Editing Pane", so XSI evaluates it,
> > every frame.
> >
> > What I cant figure out, is how to add also the code that was
> originaly
> > in the "Auxiliary Editing Pane", and that should
> > be executed only one, when the scop is applied?
> >
> > I can add this code to the main code String, before applying the
> scop,
> > but then wouldnt it be executed each frame
> > along with main code?
> >
> > sorry if it's a stupid question :)
> >
> > cheers,
> > Oz
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> > body:
> > unsubscribe xsi
> >
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> body:
> unsubscribe xsi

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.