AcMapQuery::Select Function

Land Desktop Development ARX CPP SDK

Up a level
AcMapQuery:: Select Function
 
 

Executes the query against the given topology.

virtual AcMap::EErrCode

Select(

AcArray<long>& resultTopoElementIds,

const char* pszTopoName) = 0;

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

resultTopoElementIds Output selection of topology elements that meet the query conditions: polygons, links, or nodes, depending on the topology type.
pszTopoName Input the topology name. The topology has to be loaded.

This function selects topological elements only. There is no cloning.