TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Remember to do a search before you ask a question!!!

support is needed
Read 5696 times
* April 30, 2012, 02:52:53 AM
Hello IMSIDesign
you implemented RUBY in TC with version 18.
Up to now, no useful thread has been coming up.
I don´t think that is why we users are unable to create useful code. It is cause the lack of documentation.

I assume that the ruby engine is needed to adapt TC-Objectmodel to the sketchup-Objectmodel - am I right?
If so - the last 16 month nobody was interested in that.
Please give us access to the turbocad-objectmodel!!

Please give us access to the com-objects

something like
  require 'win32ole'
def testexcel
  excel = WIN32OLE.connect('Excel.Application')
  excel.visible = true
  workbook = excel.Workbooks.Add();
  worksheet = workbook.Worksheets(1);
  worksheet.Range("A1:D1").value = ["North","South","East","West"];
  worksheet.Range("A2:B2").value = [5.2, 10];
  worksheet.Range("C2").value = 8;
  worksheet.Range("D2").value = 20;

  range = worksheet.Range("A1:D2");
  chart = workbook.Charts.Add;

  workbook.saved = true;

should work - but it doesn't

Please make the .rb in the folder \Program\RubyScripts  in TC19 accessible like in TC18 (as a dropdown menu). Then it is possible to  start them with a shortkey.

Please tell us wihich version of Ruby is implemented? 1.8 or 1.9 or 2.0?

best regards


* May 04, 2012, 05:46:56 PM
With version 19, we made the TurboCAD .NET API available via IronRuby. The old "SketchUp-like" API is also (mostly) still available, but deprecated -- it just wasn't a good fit for TurboCAD's API. Documentation will be forthcoming as time permits. I'll be jumping back into the SDK waters starting in June, so you can expect to start seeing new information across all aspects of the SDK around then.


* May 05, 2012, 08:54:29 AM
Hi Kevan
thanks for the news.
>>..you can expect to start seeing new information across all aspects of the SDK around then.<<
that sound good.
Loocking forward to that


* May 06, 2012, 12:12:26 PM
well, me too!

It´s about time to get the hands on a few functions to make Turbocad the workhorse for architects that it could be :)