進行状況メータを表示します。
サポートされるプラットフォーム: Windows 版 AutoCAD のみ、Windows 版 AutoCAD LT、Mac OS および Web では使用できません
ライブラリ: acetutil.arx
(acet-ui-progress [label [max]]) (acet-ui-progress current) (acet-ui-progress)
タイプ: 文字列
指定した場合は、進行状況メータのラベルとして表示されるテキスト文字列。
タイプ: 整数
指定した場合は、表示される範囲の最大値(開始は 0)。
タイプ: 整数
指定した場合は、現在の値になります。これは max 未満である必要があります。正の値は絶対値で、負の値は現在の位置がインクリメントされます。
タイプ: 整数、T、または nil
戻り値は、実行されたアクションによって異なります。
;; 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)