std-tbl-group | ![]() |
STD-TBL-GROUP returns a number matching the dxf group associated with the table (=property).
If the argument tbl is no valid table string or if no dxf group number is associated with the table (eg: "VIEW", "VPORT", "APPID") nil is returned.
This is AutoCAD independent.
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" 62 is returned.
(std-tbl-group "BLOCK") => 2 (std-tbl-group "LAYER") => 8 (std-tbl-group "STYLE") => 7 (std-tbl-group "LTYPE") => 6 (std-tbl-group "DIMSTYLE") => 3 (std-tbl-group "COLOR") => 62
tbl: any expression, but usually a valid table string. see std-tbl-p
A integer number or nil
None.
(std-require 'STDTBL)
Defined in STDTBL