From: Masaki Suketa Date: 2005-11-04T23:11:55+09:00 Subject: Re: win32ole: Passing an Array to Autocad In message "win32ole: Passing an Array to Autocad" on 05/11/04, "Michael Mueller" writes: > 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... Could you show me the result of the following script? m = @model.ole_method_help('AddText') puts m.name puts " dispid:" puts " #{m.dispid}" puts " args:" m.params.each do |p| puts " #{p.ole_type} #{p.name}" end Regards, Masaki Suketa