Regenerates the entire
drawing and recomputes the screen coordinates and view resolution for
all objects.
Signature
object.Regen
WhichViewports
VL : (vla-Regen object
WhichViewports
(vla-Regen thisdrawing
acAllViewports)
-
Object : Document
The object or objects this method applies to.
-
WhichViewports :
Integer; input-only
acActiveViewport - Regenerates only the active viewport.
acAllViewports - Regenerates all viewports on the document.
Remarks
Regen also reindexes the
drawing database for optimum display and better object selection
performance.
Example :
(defun c:al-Regen ()
(vl-load-com)
(setq thisdrawing
(vla-get-activedocument
(vlax-get-acad-object)))
(vla-Regen thisdrawing acAllViewports)
(princ)
);defun
|
|