Share

AcDbEntity::list

C++

ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL void list() const;

Description

Function usage

This function is intended to be called from AutoCAD whenever the entity is selected during the LIST command. However, it can be called from ObjectARX applications if desired.

This function will print entity specific information to the AutoCAD command line.

Function implementation in derived classes

When implementing this function in a derived class, the first thing that should be done in the function is to make a call to assertReadEnabled(). The next thing to do is to call the parent class's list() method to allow the parent class to list it's information (the parent class should in turn call its parent class first and so on up the inheritance chain until AcDbObject is reached. This way all the entity's information will be properly printed out in order). Once the parent class's list function has been called then a series of ads_printf() calls can be used to list whatever information is desired.

Default implementation

Lists out the entity's DXF name, the layer, the space the entity resides in (model or paper), and the entity's handle.

Links

AcDbEntity

Was this information helpful?