Gets an AcadState
object to monitor the state of AutoCAD from out-of-process applications.
Signature
VBA : RetVal =
object.GetAcadState()
VL : RetVal = (vla-GetAcadState
object)
(vla-GetAcadState applic)
Remarks
It is recommended that
you call this method immediately after acquiring the AutoCAD
appplication object. This is the best opportunity to catch AutoCAD in a
quiescent state.
Example :
(defun c:al-getacadstate ()
(vl-load-com)
(setq applic (vlax-get-acad-object))
(setq state (vla-GetAcadState applic))
(princ state)
(princ)
);defun
|
|