Scripting in the dev console
Sometimes you may just want to explore ideas and see immediate results.
Getting the active model
let model = await SketchUpApi.getActiveModel();// enable the UI to update and disable batchinglet op = await model.startOperation('scripting', {disableUi: false, instructionsPerBatch:0});op.createFace(model, [[0, 0, 0], [100, 0, 0], [100, 100, 0]]);