TheSwamp
Code Red => .NET => Topic started by: Nima2018 on April 15, 2018, 09:24:18 AM
-
Hi dear members
Is it possible load and run an assembly by Autolisp code ?
-
(command "._NETLOAD" "[path]\\MyAddinAssembly.dll")
Note: make sure the path is a trusted location, unless it is beneath "C;\Program files\" folder.
-
Thanks Yuan for reply , I was thinking about find file instead of writing path adress !
-
Surely you can use FindFile:
(command "._NETLOAD" (FindFile "MyAddinAssembly.dll"))
You still need to make the folder of the DLL file "trusted", besides the folder being one of the support paths.