Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 903 Bytes

File metadata and controls

41 lines (32 loc) · 903 Bytes

SetDocumentDefaultSketchStyle

Description

Sets the document default sketch style. Set sketchName to 'No Sketch' to set the document default sketch to 'No Sketch'.

FUNCTION SetDocumentDefaultSketchStyle(sketchName : STRING): BOOLEAN;
def vs.SetDocumentDefaultSketchStyle(sketchName):
    return BOOLEAN

Parameters

Name Type Description
sketchName STRING Sketch Style name.

Examples

resultOK := SetDocumentDefaultSketchStyle('Example');
import vs

# Sets the document default sketch style.
sketchName = 'Example'

ok = vs.SetDocumentDefaultSketchStyle(sketchName)
if ok:
    vs.Message('SetDocumentDefaultSketchStyle succeeded')
else:
    vs.Message('SetDocumentDefaultSketchStyle failed')

Version

Availability: from VectorWorks11.5

Category