How to create non-rectangular viewport in paperspace using Object ARX?
AcDbViewport::setNonRecClipEntityId() can be used to associate a viewport with
an entity and enabling non-rectangular clipping is done through
For a clipping entity to be valid, it must be contained in the same paperspace
as the viewport entity and should be one of the entities as explained with ObjectARX
help file. Please see the documentation for AcDbViewport::setNonRecClipEntityId()
method for more detials.
Attached to this is a sample code which creates a non-rectangular viewport of
type circle and assign a specified view to the same.