We have been using it in maya on windows as well for a long time actually. We do have some event calling mechanisms as all of our custom GUI is implemented in the .net assemblies, and they communice with maya using some event hooks & delegate functions.

It seems to work well, as long as we are careful.

In the meantime, i got python.net working with the latest version of mono (2.8.1). Do you guys mind if i check in some minor changes to the source? I could post an svn patch here first.


cheers,
laszlo



On 09/12/2010 7:54 PM, Tribble, Brett wrote:
Maya works fine with python.net. We use it all the time. Just remember that 
Maya is very particular as to how it handles multithreading, raising events, 
and the like. There is some info in the Maya Python SDK regarding how to deal 
with Python threading and Maya, and it seems to work with .NET callbacks as 
well. I've found that is seems best to add a flag to your .NET assembly that 
enables/disable events so that you can shut them off quickly before you end up 
with stacked event callbacks and resulting Maya crashes. If you're not raising 
events that percolate into Maya, then you probably don't need to worry about 
this.


-----Original Message-----
From: pythondotnet-bounces+btribble=ea....@python.org 
[mailto:pythondotnet-bounces+btribble=ea....@python.org] On Behalf Of Laszlo 
Sebo
Sent: Thursday, December 09, 2010 12:06 PM
To: pythondotnet@python.org
Subject: Re: [Python.NET] building on linux, mono 2.8.1

  >  Sadly, our other target, Maya, seems to be linking python
statically... So I hope i can figure out how to get this integrated
somehow...

Actually, scratch that. It seems like it has it's own .so as well. Time
for some testing....



cheers,
laszlo

_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet


_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to