Creates loops from entities for an empty OdDbMPolygon. Every ObjectId must be one closed loop.
Parameters
Parameters
Description
ids
[in] Array of entity object IDs.
rejectedObjs
[out] Return indices of objectId from the entity object IDs array that led to errors while creating loops.
excludeCrossing
[in] Set true to disable creating a polygon if there are crosses between loops.
tol
[in] Measurement accuracy tolerance.
Returns
eAmbiguousInput if excludeCrossing is true and there are crosses between loops or if OdDbMPolygon has loops; eInvalidInput if the IDs array is empty or has rejected objects; eOk if a polygon appended successfully.
Remarks
If there is at least one rejected objectId, loops will not be added. OdDbMPolygon should not contain loops.