他のアプリケーションから AutoCAD がオートメーション コールを受け付けることができる状態かどうかチェックします。
サポートされているプラットフォーム: Windows のみ
読み込み専用: はい
タイプ: ブール型
追加の注意はありません。
VBA:
Sub Example_IsQuiescent()
' This example gets the acadState object and checks to see whether
' AutoCAD is in a quiescent state.
Dim State As AcadState
Set State = GetAcadState
If State.IsQuiescent Then
MsgBox "AutoCAD is quiescent."
Else
MsgBox "AutoCAD is not quiescent."
End If
End Sub
Visual LISP:
(vl-load-com)
(defun c:Example_IsQuiescent()
;; This example gets the acadState object and checks to see if
;; AutoCAD is in a quiescent state.
(setq acadObj (vlax-get-acad-object))
(setq State (vla-GetAcadState acadObj))
(if (= (vla-get-IsQuiescent State) :vlax-true)
(alert "AutoCAD is quiescent.")
(alert "AutoCAD is not quiescent.")
)
)