How to send external commands into Softimage

Discussions concerning programming of SOFTIMAGE©
Manticor
Posts: 160
Joined: 09 Jun 2011, 20:41

How to send external commands into Softimage

Post by Manticor » 29 Apr 2015, 13:09

Does anyone know how to run a script by sending a command to a running xsi from an outside program ?
Ive looked into the command line tool but that starts up xsibatch which I believe is a GUIless xsi (Ive never used it).
I just want to know how to send a command to a running instance of xsi or if there isnt one running to start one up and then fire a command to run a script.

thanks in advance

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: How to send external commands into Softimage

Post by caledonian_tartan » 29 Apr 2015, 13:25

i think sIBL for Softimage does that with the TCP server...
(also, it seems they removed the XSI loader. maybe it's still on RRay)
SI 2015 @ WIN7-64

Manticor
Posts: 160
Joined: 09 Jun 2011, 20:41

Re: How to send external commands into Softimage

Post by Manticor » 29 Apr 2015, 13:36

Ok thanks .Its still on their site actually but the link is on a different page.
Ive just installed it and having a look at it now.Maybe I can find something...

Manticor
Posts: 160
Joined: 09 Jun 2011, 20:41

Re: How to send external commands into Softimage

Post by Manticor » 29 Apr 2015, 13:46

Your tip about TCP led me on a google spree to a page containing exactly what I wanted

http://www.softimageblog.com/archives/132

Thank you very much Caledonian

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: How to send external commands into Softimage

Post by caledonian_tartan » 29 Apr 2015, 13:48

you're welcome. i think there is also an example of a TCP server in the default XSI_EXAMPLES Location.
SI 2015 @ WIN7-64

luceric
Posts: 1252
Joined: 21 Jun 2009, 22:08

Re: How to send external commands into Softimage

Post by luceric » 29 Apr 2015, 15:49

that tcp sample in the sdk workgroup should be good, it was written by my SDK colleague here, long after that blog I think. Seem to be in c# though!

User avatar
csaez
Posts: 253
Joined: 09 Jul 2012, 13:31
Skype: csaezmargotta
Location: Sydney, Australia

Re: How to send external commands into Softimage

Post by csaez » 30 Apr 2015, 09:43


El Burritoh
Posts: 151
Joined: 30 Nov 2010, 18:56
Location: Tennessee

Re: How to send external commands into Softimage

Post by El Burritoh » 30 Apr 2015, 13:35

Yeah we use that here too, to send commands to XSI from Shotgun in the browser. Works well.
-Tim Crowson
High Nerd, of the Order of Magnetic Nerds
Personal Website

Manticor
Posts: 160
Joined: 09 Jun 2011, 20:41

Re: How to send external commands into Softimage

Post by Manticor » 08 May 2015, 09:56

thanks for all the help guys