So I set out to emulate pos-reps (positional representations) in AutoCAD like Inventor has. If you're unfamiliar with them, they're basically a saved position/orientation/visibility state of the model. For example, you could have a the arms of an excavator in different positions saved as different pos-reps. You could then assign a pos-rep to a viewport and plot a layout of a handful of the different positions the arms can be in.
There are other ways to achieve this in ACAD. You could copy the model over many times and use layer states and apply them in certain viewports etc. This is really messy because now you have many different instances of the same objects, and gets especially bad for things like sequences of events. A pos-rep style implementation would be a lot cleaner.
I have a pretty good system going. I've got a manger type menu that allows you to save and restore "model states", which are nothing more than lists of insert points, rotations, normals, visilbilty, and dynamic properties of all the blocks in model space. The data is stored in vlax ldata so it can be recalled even after save/close/re-open.
The crux: I can't think of any way to "assign" a model state to a viewport in such a way that sticks. My first thought: is there any way to work with multiple instances of model space in a single dwg? I don't think there is.
Another thought is writing a routine that would allow the user to select a model state and then click a viewport. The routine would then make faux layers and copy objects into them that represent the selected model state and then vp freeze/thaw appropriately in that viewport. This seems overly messy and defeats the original purpose.
Maybe I'm chasing a pipe dream here and this isn't possible. Any other thoughts or solutions?