Home Product Purchase Support Testimonials Contact

CADSTA Tools - layerstate-compare / layerstate-has

layerstate-compare

Compares a layer state to the layers in the current drawing.

(layerstate-compare layerstatename viewport)

Arguments

layerstatename

Type: String

Name of the layer state.

viewport

Type: ads_name or nil

An ename of the viewport. If viewport is nil, the current viewport is used.

Return Value

T or nil.

Examples

_$ (layerstate-rename "myLayerState")

nil

layerstate-has

Checks if a layer state is in the current drawing.

(layerstate-has layerstatename)

Arguments

layerstatename

Type: String

Name of the layer state to be checked.

Return Value

T or nil.

Examples

_$ (layerstate-has "myLayerState")

T

Related References

layerstate-import

layerstate-getnames

layerstate-rename

layerstate-delete

layerstate-importfromdb

layerstate-save

layerstate-export

layerstate-getlayers

layerstate-getlastrestored

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