Re: Calling functions inside SI, from a Python instance outside SI

2012-12-14 Thread Stefan Kubicek

There was a tutorial on how to remote-control XSI via COM by Diego Garcia in 
2006 (from 3dsmax, but technique might be similar from elsewhere).
His website www.sloft.com is down for maintenance atm, but I think I found a 
copy of it here:
http://joon25.tistory.com/25

The video and original links to the scripts do not work anymore, but the very 
bottom link seems to be a local copy that still works.



Sorry for the noob question, but... is calling functions inside SI, from a
Python instance outside SI possible?
Ive got Python correctly installed in SI, but have no idea if this is
doable, and information on the web looks a bit scarce and confusing.

There is this:
http://softimage.wiki.softimage.com/index.php?title=Python_(XSISDK)redirect=no#Viewing_XSI_Type_libraries_in_Python_GUI

But I have no clue if that is what I want...

Anyway, just wondering, no life or death situation for now...

Cheers



--
---
Stefan Kubicek   Co-founder
---
  keyvis digital imagery
 Wehrgasse 9 - GrĂ¼ner Hof
   1050 Vienna  Austria
Phone:+43/699/12614231
--- www.keyvis.at  ste...@keyvis.at ---
--  This email and its attachments are
--confidential and for the recipient only--



Re: Calling functions inside SI, from a Python instance outside SI

2012-12-14 Thread Tim Crowson
If you're okay with TCP, Thomas Mensencal has a good TCP server addon 
that I've been using lately to send Python commands to Softimage. Search 
for 'TCPServer For Softimage' on rray.de/xsi.

-Tim C .


On 12/14/2012 5:10 AM, Stefan Kubicek wrote:
There was a tutorial on how to remote-control XSI via COM by Diego 
Garcia in 2006 (from 3dsmax, but technique might be similar from 
elsewhere).
His website www.sloft.com is down for maintenance atm, but I think I 
found a copy of it here:

http://joon25.tistory.com/25

The video and original links to the scripts do not work anymore, but 
the very bottom link seems to be a local copy that still works.



Sorry for the noob question, but... is calling functions inside SI, 
from a

Python instance outside SI possible?
Ive got Python correctly installed in SI, but have no idea if this is
doable, and information on the web looks a bit scarce and confusing.

There is this:
http://softimage.wiki.softimage.com/index.php?title=Python_(XSISDK)redirect=no#Viewing_XSI_Type_libraries_in_Python_GUI 



But I have no clue if that is what I want...

Anyway, just wondering, no life or death situation for now...

Cheers





--
Signature



RE: Calling functions inside SI, from a Python instance outside SI

2012-12-14 Thread Marc-Andre Belzile
Or look at the python TCP server in the XSI sdk examples.

-mab

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Tim Crowson
Sent: Friday, December 14, 2012 9:12 AM
To: softimage@listproc.autodesk.com
Subject: Re: Calling functions inside SI, from a Python instance outside SI

If you're okay with TCP, Thomas Mensencal has a good TCP server addon that I've 
been using lately to send Python commands to Softimage. Search for 'TCPServer 
For Softimage' on rray.de/xsi.
-Tim C .

On 12/14/2012 5:10 AM, Stefan Kubicek wrote:
There was a tutorial on how to remote-control XSI via COM by Diego Garcia in 
2006 (from 3dsmax, but technique might be similar from elsewhere).
His website www.sloft.comhttp://www.sloft.com is down for maintenance atm, 
but I think I found a copy of it here:
http://joon25.tistory.com/25

The video and original links to the scripts do not work anymore, but the very 
bottom link seems to be a local copy that still works.



Sorry for the noob question, but... is calling functions inside SI, from a
Python instance outside SI possible?
Ive got Python correctly installed in SI, but have no idea if this is
doable, and information on the web looks a bit scarce and confusing.

There is this:
http://softimage.wiki.softimage.com/index.php?title=Python_(XSISDK)redirect=no#Viewing_XSI_Type_libraries_in_Python_GUI

But I have no clue if that is what I want...

Anyway, just wondering, no life or death situation for now...

Cheers


--


attachment: winmail.dat

Re: Calling functions inside SI, from a Python instance outside SI

2012-12-13 Thread Eric Thivierge
There isn't a built in way to send commands to XSI through Python. You need
to build your own Socket connections and system of receiving / sending
data. There is a sample for CPP in the SDK examples. Also thought there was
a python one too.


Eric Thivierge
http://www.ethivierge.com



On Fri, Dec 14, 2012 at 1:17 PM, Gustavo Eggert Boehs
gustav...@gmail.comwrote:

 Sorry for the noob question, but... is calling functions inside SI, from a
 Python instance outside SI possible?
 Ive got Python correctly installed in SI, but have no idea if this is
 doable, and information on the web looks a bit scarce and confusing.

 There is this:

 http://softimage.wiki.softimage.com/index.php?title=Python_(XSISDK)redirect=no#Viewing_XSI_Type_libraries_in_Python_GUI

 But I have no clue if that is what I want...

 Anyway, just wondering, no life or death situation for now...

 Cheers
 --
 Gustavo E Boehs