ade_qlsetquery

AutoCAD Map 3D AutoLISP

Up a level
ade_qlsetquery
 
 

Changes a query name, description, or the category it belongs to.

(ade_qlsetquery qry_id info value)

Returns T or nil.

qry_id Query ID (real)
info Type of information to modify (string). See the Information Types table below.
value New value (type varies). See the Information Types table below.
Information Types
name Name of query (string), up to 31 characters long. Must be unique, contain no spaces, and start with an alphanumeric character.
description Description of query (string), up to 132 characters long. Can contain spaces. Must be unique and start with an alphanumeric character.
category Category ID.

This function does not change file name or storage type.

A query gets a name and an ID when it is saved to a query category of the query library. A new query that you have not yet saved does not have a name or an ID.