Sketch in 3D
Explore in the sandboxView live
This sample demonstrates how to create graphics with 3D symbols and how to update these graphics using SketchViewModel in a SceneView.
For example, a symbol with ExtrudeSymbol3DLayer is used for drawing extruded building footprints:
To activate the sketch mode you can call the create() method on the SketchViewModel with the geometry type that should be created:
Snapping
Version 4.18 introduced self snapping as a feature in beta. Snapping can be enabled either by setting the snappingOptions property in SketchViewModel or by pressing the CTRL
key. When modifying a geometry with snapping, use the top down view for the best user experience.