std-tbl-props | ![]() |
"list of properties by dxf group"
STD-TBL-PROPS scans the table entries in the current AutoCAD drawing for the given table and returns a list of the associated values per dxf group number.
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" and 2 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 and two layers defined:
(std-tbl-props "BLOCK" 0) => ("INSERT" "INSERT") (std-tbl-names "LAYER" 62) => (7 -1) (std-tbl-names "LAYER" 70) => (64 1) (std-tbl-names "COLOR" 2) => ("ByLayer" "ByBlock" "red" "yellow" "green" "cyan" "magenta" "white")
tbl: string which must be a valid symbol table, see std-tbl-p
grp: a integer, a valid dxf group code number.
A list of associated dxf group codes per table entry.
None.
(std-require 'STDTBL)
Defined in STDTBL