AddScriptedOp Question

Date : Thu, 26 Oct 2006 15:02:40 +0200
To : "XSI(at)Softimage.COM" <XSI(at)Softimage.COM>
From : Oz Adi <oz(at)broadcast.co.il>
Subject : AddScriptedOp Question
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


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.