Acad Viewports Collection

The AcadViewports collection contains all the viewports in the drawing. Although this collection inherits a Delete method, you can't actually delete this collection. If you need to delete a specific viewport, use the DeleteConfiguration method or the Delete method of the AcadViewport object. The number of viewports you can have active at one time is controlled by the MAXACTVP system variable. However, there can be only one instance of the AcadViewports collection, which is predefined for each drawing. You can make multiple references to it by using the Viewports property of the Document object.

0 0

Post a comment