Skip to content

EdgeDisplayMode

Which edges are drawn in the viewport.

let model = await SketchUpApi.getActiveModel();
// Hide all edges
await model.updateRenderingOptions({
EdgeDisplayMode:
SketchUpApi.EdgeDisplayMode.None,
});
// Re-apply the current camera to force
// SketchUp to redraw immediately
let cam = await model.view.getCamera();
await model.view.setCamera(cam);

All: 1

All edges are drawn.


None: 0

No edges are drawn.


Standalone: 2

Only standalone edges (not attached to any face) are drawn.