Hi there,
I have a WinForms .NET application that lists drawings. Within the application I want users to be able to:
- Type a title and click a button to update a dwg attribute with that title
- Click a button to and display the value in a dwg attribute
- Select one or more of the drawings and convert it to PDF
I have all of these things working by adding the Interop.AutoCAD.dll into my visual studio project.
The downside to this is full AutoCAD is needed on the machine and it opens up AutoCAD and the drawings when these procedures are taking place.
I'd mentioned in another forum post is there a way for the application to run in the background and AcCoreConsole was mentioned.
Looking at it it doesn't look like I can reference it into my WinForms application and interact how I currently do, is that correct?
It seems like my application could tell AcCoreConsole.exe to open a certain drawing and then run a script, is that the only way to use AcCoreConsole from my application?
The .NET API seems to work like this in that a .dll needs to be loaded into the drawing and then ran, which doesn't seem a good option for me.
Please can someone confirm my queries above, any suggestions are welcomed.
Thank you.