Jump to content

StartUp parameter


neca

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...