Given a selection set of drawing objects, compiles lists of which are new (and of a certain feature type, or types), and which are not.
bool
FilterNewObjects(
const std::vector<_string class="calibre8"> & vFeatures,
const AcDbObjectIdArray & arrInput,
AcDbObjectIdArray & arrNew,
AcDbObjectIdArray & arrFilteredOut);
Returns true if successful.
vFeatures | Input list of feature types. The output list, arrNew, will include objects of these feature types only. If the vFeatures list is empty, the output list will include objects of any valid feature type. |
arrInput | Input selection set of drawing objects to filter. If the arrInput list is empty, the selection set includes all objects in the drawing. |
arrNew | Output list of arrInput objects that are new and of vFeatures feature type(s). |
arrFilteredOut | Output list of arrInput objects not included in arrNew. |
Objects in the project drawing are considered new if they are valid features and they are not in the project's Oracle database. An object is a valid feature if it resides on a drawing layer associated with a feature type.