Get active model return no data!

Have you generally followed the pattern shown in the GitHub example ?

  1. You should be building a .so file, that defines a main function prefixed "Init_" with the remainder of the name the exact same as the .so file’s filename. This is a requirement so that Ruby’s global #require can load the file. (See the example above, or the book on writing Ruby C extensions.)

  2. You need to be linking to the correct lib for running inside “live” SketchUp application.
    Please read @thomthom’s post re this in the following topic …
    Best practice to support multiple SketchUp versions? - #15 by tt_su