tblmake

(tblmake table_list)

The tblmake function generates a new table entry described in an association list table_list.

Before creating the new table entry, tblmake tests the validity of the contents of the specified group codes for the corresponding table type.

Valid names of table types are: BLOCK, DIMSTYLE, GROUP, LAYER, LTYPE, STYLE, UCS, VIEW, and VPORT.

The tblmake function returns nil and creates no table entry, if one or more group codes required for a complete table entry is missing.

Return Value

If the function succeeds, it returns the association list, otherwise nil.

Examples

: (setq lay (list (cons 0 "LAYER") (cons 2 "ABC")))

: (tblmake lay)

(setq x (list

  (cons 0 "VPORT") ; name of the table

  (cons 2 "*ACTIVE")

  (cons 12 (list 1 1 1)) ; center point

  (cons 40 10) ; height

))

(tblmake x)