Dispatch Problems?

2014-01-14 Thread Tony Barbieri
Hello! Sorry for such a newbish question but I'm having a hard time isolating a problem in some code. Sometimes this works, sometimes it doesn't and I can't find out how to fix it. Basically I have some code running in a python module that is outside of a typical Softimage Plugin. I've tried to

Re: Dispatch Problems?

2014-01-14 Thread Tony Barbieri
This is in Softimage 2013 SP1 btw. On Tue, Jan 14, 2014 at 12:17 PM, Tony Barbieri wrote: > Hello! > > Sorry for such a newbish question but I'm having a hard time isolating a > problem in some code. Sometimes this works, sometimes it doesn't and I > can't find out how to fix it. Basically I

Re: Dispatch Problems?

2014-01-14 Thread Jon Swindells
try using the full namespace. it sounds like the module isn't loading everything it needs. import win32com.client app = client.Dispatch("XSI.Application").Application -- Jon Swindells jon_swinde...@fastmail.fm On Tue, Jan 14, 2014, at 07:20 PM, Tony Barbieri wrote: This is in Softimage

Re: Dispatch Problems?

2014-01-14 Thread Jon Swindells
ahem... import win32com.client as client app = client.Dispatch("XSI.Application").Application -- Jon Swindells jon_swinde...@fastmail.fm On Tue, Jan 14, 2014, at 07:40 PM, Jon Swindells wrote: try using the full namespace. it sounds like the module isn't loading everything it needs.