Sketch APIΒΆ

editor.createSketch(position, size)
Parameters:
  • position – the Point3F position in world space of the sketch box
  • size – the Point3F size of the sketch box

Create a new sketch mesh box.

editor.deleteSketch(sketchObjectId)
Parameters:sketchObjectId – the sketch object id

Delete the sketch object by its id.

editor.getSketches()
Returns:the sketch objects ids array