Home Product Purchase Support Testimonials Contact

CADSTA Tools - LayerState-Rename/GetLastRestored

layerstate-rename

Renames a layer state.

(layerstate-rename oldLayerstatename newLayerstatename)

Arguments

oldlayerstatename

Type: String

Name of the layer state to be renamed.

newlayerstatename

Type: String

Name of hte layer state to be renamed to.

Return Value

T or nil.

Examples

_$ (layerstate-rename "myOldLayerState" "myNewLayerState")

T

layerstate-getlastrestored

Returns the name of the last restored layer state.

(layerstate-getlastrestored)

No arguments

Return Value

String or nil.

Examples

_$ (layerstate-getlastrestored")

"Site Plan"

Related References

layerstate-import

layerstate-getnames

layerstate-compare

layerstate-delete

layerstate-importfromdb

layerstate-save

layerstate-export

layerstate-getlayers

layerstate-has

layerstate-restore

layerstate-addlayers

layerstate-removelayers

Try or Buy

Product Information

CADSTA Tools

CADSTA Tools Features

Using AutoLISP with CADSTA Tools

Supported AutoLISP file format

Enter AutoLISP codes at command Line

Using AutoLISP with Menu

Using MNL file with CADSTA Tools

Appload Command

CADSTATools.lsp / acad.lsp

CADSTAToolsDoc.lsp / acaddoc.lsp

S::STARTUP Function

Startup Suite

LISP Functions: Operators

LISP Functions: A - C

LISP Functions: D - H
LISP Functions: I - P
LISP Functiosns: Q - U

LISP Functions: V

LISP Functions: W - Z

CADSTA Elements Features

Forum

Click here to go to our forum where you can exchange information, ask questions and share tips with others.

Search

Enter search words

Sign Up For Newsletter

Click here to sign up for our newsletter.

Follow Us