Yes, I know, I know – we're halfway through the month, already. This plugin has been live on Autodesk Labs since the beginning of the month, but I've been a little distracted by April Fools' jokes, fooling around with Photosynth point clouds as well as finishing up some internal activities which always tend to take time away from blogging at this time of year.
Anyway, I've been remiss talking about this very cool application, but at least Scott was there to announce it on day one.
The application was developed by Glenn Ryan, and there are a number of notable things about this tool. Firstly, it implements something that's very useful – the ability to save and restore the "loaded/unloaded" state of the various external references in a drawing – and, secondly, it does so in a very elegant way. It's rare that I come across such a well-structure codebase, and I, for one, learned a number of new tricks when looking into it. Glenn has done a great job with this one, and I fully recommend taking the time to check it out.
There's quite a lot to the code, so I'm not going to duplicate it here. I will show the main application dialog – in this case with a number of XrefStates created – to give you a feel for its capabilities:
Once you've set up the XrefStates for your project they get saved inside the master drawing, which allows them to be used in future editing sessions. To do this Glenn chose to use Xrecords, which store the data in a relatively open manner (as opposed to it being locked up in a custom object requiring a enabler).
A big thanks to Glenn for providing this very useful – and well-written – application.

Leave a Reply to patrick evangelista Cancel reply