Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<aps_brar> wrote in messageis
href="news:6091403@discussion.autodesk.com">news:6091403@discussion.autodesk.com...
there a way that i can run AutoCad invisibly (as a background process i.e with
loading the interface) and NetLoad my Assembly and call a method from that
assembly which reads blocks out of a Drawing. Please help Edited by: aps_brar
on Dec 17, 2008 7:09 AM
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<aps_brar> wrote in messageok,
href="news:6092210@discussion.autodesk.com">news:6092210@discussion.autodesk.com...
i can run AutoCad from my .net app and then use
acApp.ActiveDocument.SendCommand("netload
"D:\Downloads\dotnetarx_demo\CsMgd1\bin\Debug\CsMgd1.dll""); to run NETLOAD.
it was always showing a filedialog so i got rid of by calling
acApp.ActiveDocument.SetVariable("FILEDIA", false); but now my problem is that
the netload command just sits in the commandline waiting for the enter key to
be hit. i want to drive the whole show from my .net exe where user can select
a few drawings from a listview and click a button scan and then my app will
start autocad through com and load my ManagedArx (or whatever it is called)
assembly into autocad then i want to use sendcommand to call the main method
of the loaded assmbly which will scan the drawings and update info in the
database. Is NETLOAD the only way of doing this or am i missing something? Any
help will be highly appreciated