EdgeColorMode
How edge colors are determined when rendering.
Example
Section titled “Example”let model = await SketchUpApi.getActiveModel();// Color edges by axis directionawait model.updateRenderingOptions({ EdgeColorMode: SketchUpApi.EdgeColorMode.Direction,});
// Re-apply the current camera to force// SketchUp to redraw immediatelylet cam = await model.view.getCamera();await model.view.setCamera(cam);Enumeration Members
Section titled “Enumeration Members”Direction
Section titled “Direction”Direction:
2
Edge color varies by axis direction — X, Y, or Z.
Foreground
Section titled “Foreground”Foreground:
1
All edges share a single foreground color.
Object
Section titled “Object”Object:
0
Edges use the color of their parent object or material.