You haven't given us enough information to help. What error do you see?
What is the most recent combination of Python and pywin32 that works?
Mark
On 12/05/2012 10:31 PM, EdShallow wrote:
Hi Folks,
I have an ActiveX COM dll generated by VisualBasic 6 in WinXP. I
can call it and use it
Sorry!!! my mistake!!! really there are a speed up, the timing using
late-binding is:
M_dimension= 512
R_dimension= 262144
t_block1= 3.00059867944
t_block2= 12.2370913063
t_block3= 0.488927223991
t_total= 15.7266172097
Then it is about half time using early-binding for my example. It is
wonderfull
Just for conclude the discusion, the solution is win32.client.CastTo() as
Mark said. However, this modification doesn't speed up the code (at least
in my case).
Then, perhaps I need to learn C++ in order to embed python inside AutoCAD
as Dan Glassman said. But, not now...
Here I post the code using
Thank you Mark, I will try to use win32com.client.CastTo() because
InsertionPoint attribute is not inside IAcadEntity.
Opss, you are right, the problem was TEMP\gen_py folder. Thank you!
2012/5/13 Mark Hammond
> On 13/05/2012 5:00 AM, DANIEL POSE wrote:
>
>> I had tried to change attribute na
Thank you Dan, by now it is clear for me. Unfortunately I haven't C++
knowledge but don't worry, for me it is enought to know that the problem is
not in python or in my code.
Now I am occasionaly programmer in Python or VBA, then it would be too
complicated for me to learn C++, but perhaps I will c