AcMapQuery::Execute Function 2 of 3

Land Desktop Development ARX CPP SDK

Up a level
AcMapQuery:: Execute Function 2 of 3
 
 

Executes the query against the drawing set of the given project.

virtual AcMap::EErrCode

Execute(

AcDbObjectIdArray& resultIds,

const AcMapProject* kpProject) = 0;

Returns AcMap::kOk in case of success, AcMap::kErrUsrBreak if the user cancels the process, or another error code.

resultIds Output selection of entities in the project drawing that meet the query conditions.
kpProject Input the project pointer.

The result is a selection of objects in the project drawing.