Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π« Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
DLL callback to ruby
-
You will need to do some studying:
- Read and bookmark this post:
[Info] C/C++ Ruby extensions & SketchUp plugins
- You will need to download the Ruby C source, as your DLL code must:
%(#404080)[include "ruby.h"]- Read the old "Pick-Axe" book's chapter on writing a Ruby extension.
Programming Ruby: Extending Ruby
- Take note of the Ruby C-side functions:
rb_eval_string( *string_to_eval* )*rb_funcall
... described in section "Evaluating Ruby Expressions in C"
okay, a dedicated C side Ruby book is also now available:
Advertisement