SUEntitiesRef entities = SU_INVALID; SUModelGetEntities(model, &entities);
I can give you a specific code skeleton. Example features often requested: sketchup 21.0.0
module MyTools class ExtrudeByDistance def self.extrude(face, distance) return unless face.is_a?(Sketchup::Face) SUEntitiesRef entities = SU_INVALID
SketchUp 21.0.0 is the initial release of the 2021 version of Trimble’s renowned 3D modeling software. It is available in two primary tiers: sketchup 21.0.0
: Extensions specifically compiled for SketchUp 2022 or newer using the newer "ExtensionManager" API. Always check the "Compatible with SU2021" badge on the Extension Warehouse.