Save Method

Saves a document or group of layer property settings; no longer supported for menu groups.

See Also | Example

Signatures: Overview

Document: 

object.Save 

MenuGroup: 

no op 

Layer Settings: 

object.Save Name, Mask 

Signatures: Detail

object.Save

Object

Document
Saves the specified document.


object.Save MenuFileType

Object

MenuGroup
The object or objects this method applies to.

 

Note This method has no effect for menu groups.


object.Save Name, Mask

Object

LayerStateManager
A LayerStateManager object.

Name

String; input-only
The name to be assigned to the saved layer settings.

Mask

enum; input-only
A number representing the layer properties to be saved and restored. Use the following constants to identify layer properties:

acLsAll

All layer properties

acLsColor

Color

acLsFrozen

Frozen or thawed

acLsLineType

Linetype

acLsLineWeight

Lineweight

acLsLocked

Locked or unlocked

acLsNewViewport

New viewport layers frozen or thawed

acLsNone

None

acLsOn

On or off

acLsPlot

Plotting on or off

acLsPlotStyle

Plot style

Remarks

When you save a document to a secure URL, a dialog box prompts the user for the necessary password information.

Menu groups cannot be saved in AutoCAD 2006. This method will be removed from the MenuGroup object in a future release.

 

   Comments?