<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-2>
<META content="MSHTML 6.00.6001.18063" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#a0a0a4 leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>Hi there,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm quite new to the whole PythonNET project and
thus if my question will seem stupid to you, guys, please ignore it <IMG
title="Smile emoticon" style="FLOAT: none; MARGIN: 0px; POSITION: static"
tabIndex=-1 alt="Smile emoticon"
src="cid:7584C3F1904E4E18BBEFA8CFD294E672@TURBODIZER"
MSNNonUserImageOrEmoticon="true"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But, I'm looking into a way of using .NET objects
(specifically windows forms etc...) for scripting rich user interfaces in my
tools, but</FONT></DIV>
<DIV><FONT face=Arial size=2>I strictly need to use Python interpreteur only,
nothing else. So, it'd be super-sweet if I could, somehow, get PythonNET
run</FONT></DIV>
<DIV><FONT face=Arial size=2>as a module.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The thing is, I'm a visual effects technical
director at a vfx company, I primarily use 3ds Max, which has a native
support for .NET objects via</FONT></DIV>
<DIV><FONT face=Arial size=2>its MAXScript language and secondarily I use Maya,
which, on the other hand, natively supports Python (it implements its own Python
installation)</FONT></DIV>
<DIV><FONT face=Arial size=2>so I can run various modules under Maya and use it
in my scripts. The last thing that I'm missing are the .NET UI objects like
ListView, TreeView, buttons etc...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've been looking around the web for a .NET
module/implementation for Python, but it could have not be found anywhere.
IronPython isn't the option here as I need</FONT></DIV>
<DIV><FONT face=Arial size=2>to use Mayas Python interpreteur for running Python
code, not IronPythons own interpreteur.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I basically tried copying the clr.pyd in the DLLs
folder under Python25 (btw: I'm on Windows), it recognized it, but when trying
to import the clr module it threw and error:</FONT></DIV>
<DIV><FONT face=Arial size=2>"ImportError: dynamic module does not define init
functino (initclr)"</FONT></DIV>
<DIV><FONT face=Arial size=2>and that's where my "thorough" :D knowledge of
PythonNET comes to an end.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you have any tips/tricks on how to make
PythonNET, or rather the clr, run under regular Python? (ver 2.4
up)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks a lot in advance, cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Lukas "loocas" Dubeda<BR>lead technical
director</FONT></DIV>
<DIV><FONT face=Arial size=2>UPP Prague</FONT></DIV>
<DIV><FONT face=Arial size=2><A
title="mailto:loocas@upp.cz CTRL + Click to follow link"
href="mailto:loocas@upp.cz">loocas@upp.cz</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.duber.cz">www.duber.cz</A></FONT></DIV></BODY></HTML>