std-tbl-p


Synopsis

(std-tbl-p <tbl>) ; Function

*TABLES* ; Global Variable

Description

*TABLES* is a global list of strings which specifiy valid AutoCAD TABLE sections.

The value depends on the AutoCAD version, it is similar to the following list:

("BLOCK" "LAYER" "STYLE" "COLOR" "LTYPE" "DIMSTYLE" "VPORT" "VIEW" "UCS" "APPID")

STD-TBL-P is a predicate if the argument is a member of *TABLES*.

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. The supported tbl functions treat COLOR as virtual table and return meaningful values for it.

Example

(std-tbl-p (std-getstring "select property"))

Arguments

tbl: any expression, but usually a valid table string

Return Value

STD-TBL-P returns T or nil

Side Effects

None.

Module

(std-require 'STDTBL)

Defined in STDTBL