AcMapQuery::Execute Function 1 of 3

Land Desktop Development ARX CPP SDK

Up a level
AcMapQuery:: Execute Function 1 of 3
 
 

Executes the query against the given drawing set.

virtual AcMap::EErrCode

Execute(

AcDbObjectIdArray& resultIds,

const AcMapDrawingSet* kpDwgSet) = 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.
kpDwgSet Input the drawing set pointer.

Objects that meet the query conditions are cloned from the source drawings in the drawing set to their associated project drawing. The result is a selection of objects in the project drawing. If an object has already been queried, it is not cloned. It is just added to the selection.