AcMapTopology::SplitPolygon Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: SplitPolygon Method
 

Splits a polygon along a curve.

AcMap::EErrCode SplitPolygon(
    AcMapObjectPtrArray& apResults, 
    const AcDbObjectId& curveId, 
    long lPolygonId
);
Parameters 
Description 
apResults 
Output new and affected topological objects.  
curveId 
Input curve to split at.  
lPolygonId 
Input ID of polygon to split.  
Returns

Returns AcMap::EErrCode kOk if successful; otherwise, returns a different error code.

Remarks

After the split succeeds, the polygon object reference with ID lPolygonId becomes invalid and the caller is responsible for retrieving the new object reference.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].