That's right, Softimage is always creating new and separate instances of
the scripting engine to run code. There isn't a way to add global code that
Softimage will insert into every new instance of the scripting engine.

So, maybe put that code in a module, or in a special custom command that
you keep around for that purpose?


On Thu, Oct 17, 2013 at 11:33 AM, Sergio Mucino
<[email protected]>wrote:

>  I can't be sure about this, but it seems like each tab in the Script
> Editor spawns its own (local) instance of the Python interpreter. If I
> create a function in a script on one tab, I cannot call it from within a
> different tab.
> Does anyone know of a way of evaluating "global" functions? I would like
> to create a function, evaluate it, and have it remain in memory for it to
> be called from any other tab/script running in the current session.
> Thanks for any help!
> --
>

<<Sergio Mucino_Signature_email.gif>>

Reply via email to