再生整个图形并重新计算所有对象的屏幕坐标和视图分辨率。 支持的平台:仅窗口 签名工 务 局: object.Regen WhichViewports
返回值(RetVal)无返回值。 言论Regen还会重新索引图形数据库,以获得最佳显示效果和更好的对象选择性能。 例子工 务 局: Sub Example_Regen() ' The following example regenerates the complete drawing ThisDrawing.Regen acAllViewports ' The following example regenerates the active viewport in the current drawing ThisDrawing.Regen acActiveViewport End Sub Visual LISP: (vl-load-com) (defun c:Example_Regen() (setq acadObj (vlax-get-acad-object)) (setq doc (vla-get-ActiveDocument acadObj)) ;; The following example regenerates the complete drawing (vla-Regen doc acAllViewports) ;; The following example regenerates the active viewport in the current drawing (vla-Regen doc acActiveViewport) ) |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:05
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.