Batch processing
-
This request came in a few weeks ago regarding the source code for the recently posted DGN clean-up tool: Would you modify the tool so that it can be processed by the equivalent figure ObjectDBX (of course for AutoCAD, not RealDWG)? I would like to give the Database object to the function, and the tool […]
-
Inspired by the Windows 8 conference I attended on Monday, I've decided to build my first Metro-style application which scrolls through AutoCAD's Most-Recently-Used (MRU) drawing list. I now have a barebones installation of the Windows 8 Consumer Preview + VS11 Beta inside a Parallels VM on my Mac, but rather than installing AutoCAD into that, […]
-
In the first of this week's posts on the new, developer-oriented features in AutoCAD 2013, we're going to take a look at the AutoCAD Core Console. I predict that this one feature alone is going to be worth its weight in gold to many customers and developers. Picture this: a stripped down version of AutoCAD […]
-
This was a nice little solution I saw provided recently by Viru Aithal from DevTech India. It's a simple command to open a drawing and generate preview icons for each of the blocks it contains. It forces an icon to be generated โ when it doesn't already exist โ via Viru's old trick of using […]
-
It's time to wrap up the series on batch-reporting Registered Application IDs. For reference, here's how we got to where we are today: Implement a command to collect RegAppId information for the active document Extend this command to work on a drawing not loaded in the editor Save our RegAppId information to some persistent location […]
-
As raised as a possibility at the end of the last post, I did choose to throw together a quick XSLT stylesheet to generate an HTML report of the XML data created by our XRA command. To enable this I did make a few changes to our command implementation, which we'll take a look at […]
-
This post takes the code from the last post and extends it to serialize the collected RegAppId data to an XML file, as per Step 3 below: Implement a command to collect RegAppId information for the active document Extend this command to work on a drawing not loaded in the editor Save our RegAppId information […]
-
Many of you will be aware of what has been referred to as the "RegAppId virus": drawings that have been unfortunately polluted with excessive Registered Application IDs โ which are used by applications to attach XData to entities โ have these RegAppIds brought into a main drawing when Xrefed, duplicating and duplicating IDs that were […]
-
Thanks for Chris, Dan and Dale for pointing out the obvious issue(s) with my last post. Let's just blame it on a few holiday cobwebs needing brushing away during the first week back in the saddle. ๐ The main issue with my previous implementation was that I'd somehow forgotten that Database.Insert() allows you to insert […]
-
Important note: the code in this post โ while potentially interesting, at a certain level โ has been superceded by the code in the following post. Please go ahead and use that simpler, more complete implementation instead. This question came in, over the holidays, that seemed like it was worth addressing: How do I get […]