Share

DrawingViews.AddDraftView Method

Parent Object: DrawingViews

Description

Method that creates a new draft . The newly created DrawingView is returned.

Syntax

DrawingViews.AddDraftView( [Scale] As Double, [Name] As String ) As DrawingView

Parameters

Name Type Description
Scale Double Optional input Double that specifies the drawing view scale factor. If not specified, a default value of 1.0 is used.

This is an optional argument whose default value is 1.0.
Name String Optional input String that defines the editable portion of the drawing view name that is displayed within the browser.

This is an optional argument whose default value is "".

Samples

Name Description
Drawing Sketches - editing line type and color This sample demonstrates the modification of sketch entity line type and color in drawings.
Draft Views - create This sample demonstrates the creation of a draft view in a drawing.
Moving sketch entities to a new layer This sample demonstrates the creation of a new layer and moving sketch entities onto this newly created layer.

Version

Introduced in version 9

Was this information helpful?