Re: AddScriptedOp Question

Date : Thu, 26 Oct 2006 17:59:37 +0200
To : XSI(at)Softimage.COM
From : Oz Adi <coolcalb(at)013.net>
Subject : Re: AddScriptedOp Question
well I tried it now.. and it's much too scary at this point :)  but thanks, I'll dig into that wizard later.
I'll leave it for this simple scop I am writing.. (oh I just realized the pun: Wizard...Oz.. :) )

one more question thou... I am trying to blend between existing Fcurve animation, and the scop's generated SITransforms inside
the scop script... but XSI give's me "access denied" when trying to reach, for example:

Inlocal.Value.rotx.Source , where Inlocal is connected to  kine.local of a bone.

I guess I am trying to do some weird stuff... :)
any direction to a way to do this blend is much appreciated..

Oz.



Kim Aldis wrote:
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.