AutoCAD 2012 帮助 | ![]() |
By default, each document namespace is provided with its own *error* function, which is defined as follows:
(defun *error* (msg)
(princ "error: ")
(princ msg)
(princ)
)
A VLX application running within a document namespace shares the default error-handler function. You may want to add error-handling logic to your application.
Designing for a Multiple Document Environment | ![]() | |
Understanding Namespaces | ||
Running an Application in Its Own Namespace | ||
Sharing Data Between Namespaces | ||
Handling Errors in an MDI Environment | ||
Handling Errors in a VLX Application Running in Its Own Namespace | ||
Limitations on Using AutoLISP in an MDI Environment |