RE: [scripting:python] external access to XSI

Date : Fri, 29 Dec 2006 20:03:26 -0000
To : <XSI(at)Softimage.COM>
From : "Kim Aldis" <XSI(at)kim-aldis.co.uk>
Subject : RE: [scripting:python] external access to XSI
Title: RE: [scripting:python] external access to XSI

Yeah, but surely you could do the same thing using Python, or am I missing something blindingly obvious?

 

From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Luc-Eric Rousseau
Sent: 29 December 2006 19:49
To: XSI(at)Softimage.COM
Subject: 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.