M
Michael Mueller
Hi!
I am (again - tried the same thing 2 years ago) trying to use ruby for
automating Autocad.
Win32ole is a great tool and basically allows me to program Autocad to
the same extent as when using Visual Basic....
Unfortunately there's one thing that absolutely doesn't work:
I can't call any methods that take an array as an argument - as you can
imagine that applies to almost every method that creates
Autocad-Objetcs...
say I wanted to insert a Text-Object like that:
@model.AddText("test",[0.0,0.0,0.0],10)
This doesn't work, all I get is a WIN32OLERuntimeError...
Methods that take Strings and Integers as Arguments work like a charm.
I really would appreciate any idea on how to solve this problem.
Michael
I am (again - tried the same thing 2 years ago) trying to use ruby for
automating Autocad.
Win32ole is a great tool and basically allows me to program Autocad to
the same extent as when using Visual Basic....
Unfortunately there's one thing that absolutely doesn't work:
I can't call any methods that take an array as an argument - as you can
imagine that applies to almost every method that creates
Autocad-Objetcs...
say I wanted to insert a Text-Object like that:
@model.AddText("test",[0.0,0.0,0.0],10)
This doesn't work, all I get is a WIN32OLERuntimeError...
Methods that take Strings and Integers as Arguments work like a charm.
I really would appreciate any idea on how to solve this problem.
Michael