SketchUp API - Developers at Trimble's SketchUp have already generated a library of reusable code for us to access functions that will give us control over different elements within the SketchUp model.ģ. SketchUp - The main tool is Trimble's SketchUp and I myself bought the Pro 2018 version but you can use SketchUp Make 2017 for free.Ģ. ➜ Download here First, let us review the tools and resources that will help us get started.ġ. rb file a download link is provided below.
As you can see in the image above there are less than 12 lines of code to accomplish our goal. The scope of this tutorial will not include how to register the script as a SketchUp Extension because that will make the code more complicated than it needs to be.įor my first blog post, we are going to kick things off with a very short script that will help you select the outer edges of your model with just a single click. Coding can be intimidating, but my goal is to provide bite-sized examples that are easy to digest & write.
I am creating a new BLOG to share some secrets on how to accelerate your #SketchUp workflow by automating tasks with simple to write #Ruby scripts.