INTRODUCTION 
See materials in this link https://classroom.google.com/c/ODIwMDE1NDU4OTMx/m/ODIwMDYzNDUwNjM2/details

To upload into sketchup using ruby interface:

  • Type or paste the Ruby code directly into the input field at the bottom of the Ruby Console.
  • Press Enter to execute the code.

For longer scripts from a .rb file:

  • You can use the load method in the Ruby Console to execute a script from a file.
  • Type the following into the console, replacing "path/to/your/script.rb" with the actual path to your .rb file:

Code

load "path/to/your/script.rb"

Press Enter. The script will be executed, and any output or errors will appear in the console.

The tuff-plan.rb contains a Ruby Script to load generated from wallplanner

To import DXF into sketchup,

use the import option with the attached DXF file.