Message 1 of 6
Not applicable
11-30-2016
08:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
What I want to achieve is allowing users to upload DWG/DWF files to my web application and check them for standards violations (based on a predefined standards .DWS file). If the file has violations, I shall display the list of violations to the user. How can I achieve that? I am totally new to the subject and I am reading more about AutoCAD and its APIs, I could come up with the following ideas:
- Develop an AutoCAD plugin and let it send a CheckStandards command to AutoCAD. I would need to configure the plugin to run on AutoCAD startup and develop my web app code to launch AutoCAD and pass it the path to the drawing file I want to check.
- Try to find a 3rd party library which does just that. I searched here but found nothing relevant.
- Try to run AutoCAD or the Batch Checker using command line and let it write output to a file which I shall monitor from my web app and read/parse it when it is fully written
- Run AutoCAD desktop from my web application using its command line switch and pass it a script file which shall run the required command and what would be next?
Which one would succeed? Would you take a different approach? Can you please provide much details about how to go about the selected approach?
Thanks
Solved! Go to Solution.