std-tbl-names | ![]() |
STD-TBL-NAMES returns a list of defined table entries in the current AutoCAD drawing for the given table.
This is similar to (std-tbl tbl "*" 0 0)
but actually implemented as (std-tbl-props tbl 2)
Note
We support one not-standard AutoCAD table also: "COLOR". This is a common entity property, not stored in a table, but you may refer to the color property as to any other property which is stored in a table. For "COLOR" the (hopefully localized) list ("ByLayer" "ByBlock" "red" "yellow" "green" "cyan" "magenta" "white") is returned.
Exceptional Situation
If tbl doesn't match satisfy std-tbl-p an AutoLISP error will occur.
;; two blocks, two layers and one textstyle defined: (std-tbl-names "BLOCK") => ("PT1" "PT2") (std-tbl-names "LAYER") => ("0" "AC1") (std-tbl-group "STYLE") => ("STANDARD")
tbl: string which must be a valid symbol table, see std-tbl-p
A integer number or nil
None.
(std-require 'STDTBL)
Defined in STDTBL