API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setNonRectClipEntityId Method
OdDbViewport::setNonRectClipEntityId Method
Syntax
C++
void setNonRectClipEntityId(OdDbObjectId clipEntityId);
Parameters 
Description 
OdDbObjectId clipEntityId 
[in] Object ID of the clipping entity. 

Sets the Object ID of the clipping entity for this Viewport object (DXF 340). 

 

The following entity types are acceptable clipping entities: 

untitled table OdDb2dPolyline OdDb3dPolyline OdDbCircle OdDbEllipse OdDbFace OdDbPolyline OdDbRegion OdDbSpline 

A clipping entity must be in the same PaperSpace as this Viewport.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.