Message 1 of 7
VBA equivalent to S::Startup
Not applicable
04-05-2001
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello;
I'm trying to get a VBA program to work which is designed to apply various
settings to new and existing drawings automatically when they have opened.
The thing that I'm looking for is the VBA equivalent to the Lisp function
S::Startup. I have thought of the AcadApplication objects declared with the
WithEvents statement but the problem is twofold: the events are not
triggered for the initial new drawing when starting Acad from a shortcut and
the AcadApplication does not have an equivalent to the EndOpen event for a
new drawing.
Can someone tell me if there is a way to do what I want without resorting to
something like:
(defun-q S::Startup () (command "-vbarun MyFunc")) put into the Acad.lsp
file?
Sincerely;
Michelle
I'm trying to get a VBA program to work which is designed to apply various
settings to new and existing drawings automatically when they have opened.
The thing that I'm looking for is the VBA equivalent to the Lisp function
S::Startup. I have thought of the AcadApplication objects declared with the
WithEvents statement but the problem is twofold: the events are not
triggered for the initial new drawing when starting Acad from a shortcut and
the AcadApplication does not have an equivalent to the EndOpen event for a
new drawing.
Can someone tell me if there is a way to do what I want without resorting to
something like:
(defun-q S::Startup () (command "-vbarun MyFunc")) put into the Acad.lsp
file?
Sincerely;
Michelle