RE: [scripting:python] external access to XSI

Date : Fri, 29 Dec 2006 12:11:50 -0800
To : XSI_MailingList <XSI(at)Softimage.COM>
From : Greg Smith <greg(at)stanwinston.com>
Subject : RE: [scripting:python] external access to XSI
Gotcha, thanks for the info! 

Greg

On Fri, 2006-12-29 at 14:49 -0500, Luc-Eric Rousseau wrote:
> 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
> 
> 

---
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.