Enivob opened this issue on Apr 11, 2006 · 7 posts
Enivob posted Tue, 11 April 2006 at 7:23 AM
Hi All, Just wondering if anyone knows if you can create ActiveX controls using python inside Blender on the Windows platform?
nruddock posted Tue, 11 April 2006 at 5:47 PM
If you were thinking of using ActiveX based custom controls inside Blender's GUI then your out of luck, as it uses its own OpenGL based windowing toolkit IIRC.
Nothing to stop you creating your own dialogs using pywin32 and win32com (you'll need to download and install (or possibly compile) these yourself.
haloedrain posted Tue, 11 April 2006 at 8:35 PM
I hadn't even thought about doing that, but that has interesting possibilities. What are you planning to do with activeX?
Enivob posted Sun, 07 May 2006 at 3:38 PM
I want to use the WinSock in Python. This has no GUI, but facilitates communication through a network.
nruddock posted Sun, 07 May 2006 at 3:59 PM
Quote - I want to use the WinSock in Python.
You don't need WinSock specifically as Python already has plenty of socket / networking protocol modules (e.g. socket, ftpllib, telnetlib, httplib, nntplib, smtplib, xmlrpclib) and higher level classes (e.g. SocketServer, SimpleHTTPServer, SimpleXMLRPCServer) which are all cross platform.
Check the documentation to see what's available (start with the socket module, as that's closest to the low level stuff that WinSock provides).
Enivob posted Mon, 29 May 2006 at 10:49 AM
Ok,
The blender pyhon API doc I downloaded was very unusable, is there some better documentation?
nruddock posted Mon, 29 May 2006 at 11:06 AM
None that I know of.
Feel free to ask questions about something specific that's giving trouble and I'll try and answer.