.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to call command "AEAUDITDWG" and run an audit without user help

1 REPLY 1
Reply
Message 1 of 2
ftovarCWWT2
325 Views, 1 Reply

How to call command "AEAUDITDWG" and run an audit without user help

Hello all,

 

I have been searching for this all night and cant seem to find a solution. I want to call the command "AEAUDITDWG" and run the audit with the standard options so I dont have to wait for the user selection of options. I am working on c# on visual studio. 


I just want to know if there is any way to call that command from C#.

 

Thanks for the help!

1 REPLY 1
Message 2 of 2
Keith.Brown
in reply to: ftovarCWWT2

Did you see this blog post?  http://through-the-interface.typepad.com/through_the_interface/2014/03/autocad-2015-calling-commands...

 

It should have everything that you need to call a command from AutoCAD.  Please note that it works for autocad 2015 and greater versions.  There are numerous posts on this forum on how to use the code shown in the blog post.  I believe that the command will need to be ran in document context and not application context.  There are others that can explain it better than myself.  Maybe that will chip in.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost