Gets a field value.
(ade_odgetfield ename table field recnum)
Returns a field value (data type varies) or nil.
ename | AutoCAD object name. |
table | Table name (string) can be up to 25 characters long. Must be unique, contain no spaces, and start with an alphanumeric character |
field | Field name (string) can be up to 31 characters long. Must be unique, contain no spaces, and start with an alphanumeric character |
recnum | Record number (integer). The number of the first record is 0 |
To identify a unique record, you need to specify the table to which it belongs, the object to which it is attached, and its record number. The record number is necessary because more than one record from the same table can be attached to an object. For more information about records and record numbers, see ade_odaddrecord.
The field value returned can be one of four data types: integer, character, point, or real.