neca Posted September 14, 2010 Share Posted September 14, 2010 Hello, i was wondering if it is possible to automaticly load a .net dll via netload at program start. and maybe execute a function or something in that dll x_X is there a possibility to do so? like >> "[...]\acad.exe /netload "myDllFile.dll" /param "myStatement" i searched for a list with params, but couldn't find one. so far and thx in advance PS: sry 4 my creepy english Quote Link to comment Share on other sites More sharing options...
BIGAL Posted September 21, 2010 Share Posted September 21, 2010 You can definately load a program at startup check help for S::STARTUP this would be a defun in the startup lsps such as acaddoc.lsp or we use autoload.lsp it would have a line like (command "netload" "\myprogram") If you want to pass an external parameter for the startup then you may need a batch file start to your acad acad.exe %1 where %1 is your parameter this can be read using enviroment but sorry dont know how. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.