tryingmybest Posted April 11, 2015 Share Posted April 11, 2015 I am new to Autocad customization, so would appreciate any help! We want to be able to insert an object with data attributes into an Autocad drawing based on whether a field in a database requests it or not. Ideally, the command would not be initiated by Autocad, but another program running outside of Autocad (VB or C#) and an SQL database, but Autocad can be running in the background somewhere. The drawing would be stored in a directory and the program would open the drawing, insert the object, revise the data, then close the drawing. Is this possible, and is it straightforward? Is using the .NET framework the best approach? Would appreciate some beginning weblinks or tutorials to help me start researching this. Thank you in advance! Quote Link to comment Share on other sites More sharing options...
BlackBox Posted April 11, 2015 Share Posted April 11, 2015 Welcome to CADTutor. Yes, you'll find several threads here that address this topic... Getting-or-creating an instance of AutoCAD, interfacing with it via COM (via .NET). Another option in 2013+, is that you can utilize Core Console for automated tasks as well, in series (single-threaded) or parallel (multi-threaded), depending on the requirements. Simple attributed block insertion *should* not be an issue, AFAIK. Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.