RE: [scripting:python] external access to XSI

Date : Fri, 29 Dec 2006 14:49:01 -0500
To : <XSI(at)Softimage.COM>
From : "Luc-Eric Rousseau" <lucer(at)Softimage.COM>
Subject : RE: [scripting:python] external access to XSI
Title: RE: [scripting:python] external access to XSI

Well basically it's not possible to call scripting functions from outside of XSI,
because that means calling functions across two processes, and we don't
expose a socket port for scripting.

So what that XSI 6.0 sample does is implement a server in XSI that listens
to a network socket.  Then, outside of XSI you send scripting commands to that
socket which are then executed in XSI.

This could be used for example to force an update of a plug-in while users
are running XSI.


-----Original Message-----
From: Kim Aldis

Interesting -and useful - example but wouldn't it have been easier to do the
same thing using only a few lines of Python or Perl code?

> -----Original Message-----
> From: Stephen Blair
>
> Hi
>
> If you have XSI 6, take a look at the XSIServer example in the SDK
> example workgroup.
>
> Steve
>
> -----Original Message-----
> From: Greg Smith
>
> I was curious if it was possible to run a script outside of XSI that
> could control some aspect inside XSI. The simplest thing I would like
> to do is to invoke a XSIUIToolbox.Msgbox pop up inside xsi from an
> external script using string data collected from outside of xsi.
>
> Just Curious
>
> Greg


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.