Alright, I give. I have a macro that pulls up a drawing and performs various operations and everything works great, except I want to rebuild the views that are not up to date. I'm trying to use "ModelDoc.Rebuild ( Options )", but I can't seem to get the bitwise options right. I've declared them, I think properly according to an example I've found:
... Const swRebuildAll = &H1 Const swForceRebuildAll = &H2 Const swUpdateMates = &H4 Const swCurrentSheetDisp = &H8 Const swUpdateDirtyOnly = &H10 ...
And used this:
... Rebuild = DrawingDoc.Rebuild(options) ...
But, I've tried any number of different formats for the "options" variable; decimal, binary, hex, even the option name, but the most I get is some sort of partial rebuild where it seems to rebuild, but the object lines disappear. I'd prefer to update only those marked as needing it - swUpdateDirtyOnly. ???
TIA,
Dave