ade_odrecordqty

Land Desktop Development ARX CPP SDK

Up a level
ade_odrecordqty
 
 

Counts the records attached to an object.

int

ade_odrecordqty(

ads_name ename,

char* table);

Returns a record count or an error code.

ename AutoCAD object name.
table Table name can be up to 25 characters long. Must be unique, contain no spaces, and start with an alphanumeric character.

The function counts how many records of the same table are attached to the object. See ade_odaddrecord for more information about attaching records to objects.