Thanks pendean, I appreciate the response.
It needs to be all contained within the dwg. A lot of what I'm dealing with is quite unorthodox as far as common ways of doing things, and the old/legacy way these are being handled is no exception, which is as follows:
- Sheets/Titleblocks are all randomly placed in Modelspace.
- Revisions are currently archived by copying the tb/entities below the existing ones and then placing a large X over the old tb/entities. This way the users have instant access to the history of each sheet.
This is counterproductive in terms of programming/automating things, but I have a few things in place to help pull it all into a more manageable format. Archiving old revisions is one of the last pieces of the puzzle.
But... and it's a big one...
The most important aspect of all of this is that this is in a live production environment. I need to be mindful of disrupting anything, and I'm attempting to keep the CAD portion of it as familiar as possible. Creating a new directory structure for archived revisions would send a small shockwave through the system. I'm trying to avoid that.
So, creating a non-purge-able block of old rev's seems like the best way to go. I'm thinking the process would go like this:
Create archive sheet:
- Toolbar custom command to archive sheet.
- Create block from entities with sheet name and -XREV(revision) appended.
- Create custom object with hard pointer to block (keep it from being purged).
View archived sheets:
- Toolbar custom command to view archived sheets.
- Get names of all blocks matching current sheet name and -XREV.
- Show dialog with list of matching blocks for user to select.
- Open selected block in BEDIT.
Still looking for a better way.
AutoCad 2018 (full)
Win 11 Pro