wonderfull!!
2012/5/13 DANIEL POSE
> 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
>
g late-binding:
M_dimension= 512
R_dimension= 262144
t_block1= 3.20033803179
t_block2= 4.96431445896
t_block3= 0.570101227949
t_total= 8.7347537187
Thank you for this wonderfull mailing list and pywin32.
2012/5/13 Mark Hammond
> On 13/05/2012 5:00 AM, DANIEL POSE wrote:
>
>> I
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 chan
out-of-process because there is no 64-bit VBA;
> you'd see the same slowness there that you're seeing with python.
>
> -drg
>
>
>
> On Mon, May 7, 2012 at 5:26 PM, DANIEL POSE wrote:
>
>> Hello,
>>
>> I am writing code to program AutoCAD access f
win32com and win32 folders and restore older ones.
2012/5/12 Mark Hammond
> On 10/05/2012 6:38 AM, DANIEL POSE wrote:
>
>> I have read about Early Binding but I hadn't tested the line that you
>> reference:
>> acad= win32com.client.gencache.**EnsureDispatch(&q
okes and I have always the same error in line:
M.append(objeto.InsertionPoint)
I need to reinstall pywin32 in order to repair the problem.
2012/5/8 Tim Roberts
> DANIEL POSE wrote:
> > Hello,
> >
> > I am writing code to program AutoCAD access from Python using pywin32.
&g
is faster to work with R than M, even though R is bigger.
Some suggestions for speed up pywin32 code in this example?
Best Regards,
Daniel Pose.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
pt1 = array.array('d', [0.0,0.0,0.0])
> > pt2=array.array('d',[1.0,1.0,_**_0.0])
>
> But these aren't supported by pywin32 in the way you expect - what happens
> if you change this to:
>
> pt1 = [0.0,0.0,0.0]
> pt2 =[1.0,1.0,0.0]
&g
0,1.0,0.0])
line = ms.AddLine(pt1, pt2) #This draw a line in AutoCAD
[\code]
My question is: Is posible to fix the problem using win32com to draw
autocad line in order to avoid comtypes use?
I found on the web several coments to the problem, but no solution.
Thanks for help,
Daniel Pose.
_