acet-ui-progress (AutoLISP/Express 工具)
显示进度表。 支持的平台:仅限 AutoCAD for Windows;在 AutoCAD LT for Windows 中不可用,也不适用于 Mac OS 和 Web 库:acetutil.arx 签名(acet-ui-progress [label [max]]) (acet-ui-progress current) (acet-ui-progress)
注意:如果未提供任何参数,则删除进度计。
返回值类型:整数、 或Tnil 返回值取决于执行的操作:
例;; Initialize the meter (acet-ui-progress "Working:" (length theList)) ;; Process each item (foreach item theList ;; Perform action (doSomethingTo item) ;; Update the meter by one item (acet-ui-progress -1) ) ;; Remove the meter (acet-ui-progress) |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-3-28 17:25
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.