Message 1 of 2
Macros are not getting loaded Automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am currently facing an issue where pre-defined macro files (.ATCM or .ACTMX) are not automatically loaded upon launching an AutoCAD session.
As part of my workflow, I’ve developed a custom LISP routine using the command X. Within this routine, I attempt to invoke the macro command Y after executing X. However, the macro Y only functions correctly if the macro is manually loaded or if the ACTMANAGER command has been executed beforehand. The relevant code snippet is as follows:
lisp
(defun c:X ()
(command "Y")
)
I would appreciate your guidance on how to ensure the macro file is automatically loaded at the start of the session, or on any alternative approach that would allow Y to execute reliably without manual intervention.