Home Product Purchase Support Testimonials Contact

CADSTA Tools - layerstate-delete / layerstate-getnames

layerstate-delete

Deletes a layer state.

(layerstate-getnames layerstatename)

Arguments

layerstatename

Type: String

Name of the layer state.

Return Value

T or nil.

Examples

_$ (layerstate-delete "myLayerState")

T

layerstate-getnames

Returns a list of the layer state names.

(layerstate-getnames [includehidden] [ includexref])

Arguments

includehidden

Type: T, nil or omitted

T

The returned list will include the names of the hidden layer states.

nil or omitted

The returned list will not include hidden layer states.

includexref

Type: T, nil or omitted

T or omitted

The returned list will include the names of the xref layer states.

nil

The returned list will not include xref layer states.

Return Value

List or nil.

Examples

_$ (layerstate-getnames)

 ("Site Plan" "Electrical" "Elevation")

Related References

layerstate-import

layerstate-removelayers

layerstate-compare

layerstate-export

layerstate-importfromdb

layerstate-save

layerstate-rename

layerstate-getlayers

layerstate-has

layerstate-restore

layerstate-addlayers

layerstate-getlastrestored

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