OnLoad Event

OnLoad Event

wesbird
Collaborator Collaborator
525 Views
2 Replies
Message 1 of 3

OnLoad Event

wesbird
Collaborator
Collaborator
HI,
I am looking for a DLL OnLoad event. I plan to do some environment setup, like menu, environment variable ...
but I can not find this event.
Also I am looking a way to set up global varible in .Net. I try use static which not work for my case. for each command I am going to run in AutoCAD, 1st thing I would do is, query database, get all setting, put in a class which I can access anywhere in my code. I tried Dynamic Properties, but I don't think it will work.
Thank you in advance.



Wes
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 Likes
526 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
You need to have a class in your assembly implement the
IExtensionApplication interface.
--
Bobby C. Jones
http://www.acadx.com


wrote in message news:5004118@discussion.autodesk.com...
HI,
I am looking for a DLL OnLoad event. I plan to do some environment setup,
like menu, environment variable ...
but I can not find this event.
Also I am looking a way to set up global varible in .Net. I try use static
which not work for my case. for each command I am going to run in AutoCAD,
1st thing I would do is, query database, get all setting, put in a class
which I can access anywhere in my code. I tried Dynamic Properties, but I
don't think it will work.
Thank you in advance.



Wes
0 Likes
Message 3 of 3

wesbird
Collaborator
Collaborator
thank you, I will try it.
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 Likes