Murat, I was successful in getting Excel to talk to AutoCAD. I had to revert back to IronRuby 0.9.1 b/c IronRuby 1+, so far has been kicked out of Autocad saying that .NET is too new.
Here is what I used: Applications: SharpDevelop 4.0 (b/c I'm new to visual studio) IronRuby 0.9.1 Autocad 2011 Excel 2007 References: (AutoCAD Specific) -find these files in C:\Program Files\Autodesk\AutoCAD 2011 or wherever your program is located at. acdbmgd.dll acmgd.dll IronRuby Libraries -find in Ironruby\bin IronRuby.dll IronRuby.Libraries.dll IronRuby.Libraries.Yaml.dll Microsoft.Dynamic.dll Microsoft.Scripting.Core.dll Microsoft.Scripting.Debugging.dll Standard Libraries System.dll System.Core.dll System.Xml.dll System.Xml.Linq.dll Code: AL.cs - C# bridge (build project and type 'netload' in AutoCAD to load resulting .dll file) xl_2_acad.rb - after you have successfully load ironruby type 'RBLOAD' @ AutoCAD command prompt and select this file xl_2_acad.xlsx - must be at location 'C:\xl_2_acad.xlsx' to work or change ruby script I have attached the code and excel files that I used. (the ruby code is literally thrown together) Let me know if your were successful. I will continue to try and get IronRuby 1+ to work and even possibly the 'win32ole' library since I am used to scripting excel with it instead of the .net methods. Also I will try and get David's helper methods up and working. Timothy Attachments: http://www.ruby-forum.com/attachment/6089/xl_2_acad.xlsx http://www.ruby-forum.com/attachment/6090/AL.cs http://www.ruby-forum.com/attachment/6091/xl_2_acad.rb -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core