ModelDoc views are used by almost everyone who models in AutoCAD in 3D. These are views created by the ViewBase command and their derivative detail views and sections. The ModelDoc view system is very convenient, but it is very complexly implemented and therefore often glitches. If the views stop updating or just show an empty red square, then it is no longer possible to fix them using standard AutoCAD tools. You have to transfer the model to a clean file and start designing all the sheets again. However, AutoCAD users have managed to find several amazing techniques for repairing views. In fact, this is shamanism, dancing with a tambourine. In some cases, these techniques allow you to revive a drawing or at least print it.
The Buben (tambourine) plugin combines several techniques for shamanizing ModelDoc views and in many cases will save your work. If you are lucky (and in dancing with a tambourine, luck decides everything), then in 1 click you can fix all the broken views of the drawing on all sheets.
You can select one ModelDoc view for processing, or all sheet views, or all drawing views at once.
For views that show blocks, the treatment consists of replacing solids inside the blocks with their copies.
For views that show solids from the model, you can try to call solid cleaning.
For the old AutoCAD 2017 error, when views on mirrored blocks did not work, the program can slightly change the scale of block insertion.
All treatment methods can be disabled through command line options.
The program is completely free. If the program really helps you, please donate a small amount.
Read about downloading and installing the plugin here.
If you know other methods of treating ModelDoc views, please write to avc.programming@gmail.com and send examples of drawings for which this method of treatment works.
The program only works in AutoCAD, and has nothing to do with BricsCAD drawing views.
If your drawings have turned into empty red squares, try calling the Buben command and clicking on one of the squares.
<< Berore
After >>
First of all, make a backup copy of the drawing. There is a high probability that AutoCAD will freeze, close, or the drawing will be damaged even more.
It is advisable to run the _Purge and _Audit commands with the option to fix all errors. This will never fix the ModelDoc system, but it will make the Buben program easier to work with.
If you call the Buben command from the model space, the program will start searching for all ModelDoc views on all sheets (layouts) without asking anything and will work with all objects that these views are associated with, even if they no longer show anything.
You can open a sheet (Layout) with a broken view and call the Buben command. In this case, the command will ask you to click on one of the views (ViewBorder type objects). You can specify any point inside the red square of the broken view. Selecting with a frame does not work. The program will work with this one view, but all dependent views (projection, detail, sections) will also be corrected, because they show the same objects.
The program cannot do anything with the view itself, but it can find model objects that should be shown here and do some magic with these objects (solids or blocks).
When selecting a point, you will see the following options in the command line:
SHEETViews - work with all objects of all views of the current sheet (layout).
ALLViews - work with the entire drawing at once.
ACAD2017 - enable or disable the imperceptible change of scales of mirror blocks, as it worked in earlier versions of AutoCAD 2017. In modern versions of AutoCAD, this dance with a tambourine does not lead to anything, and therefore the option is disabled by default.
CHANGEInBlock - enable or disable the option to replace solids in all blocks. The program will search for blocks associated with views, as well as blocks nested in them. And in all of them, all solids will be replaced with their clones. Only the internal identifier of the solids will change, but the drawing will not change externally. This can restore the work of views, but will definitely destroy the links of associative dimensions.
CLEANBody - enable or disable the option to clean solids. The program will call the solid cleaning (as the _SolidEdit _Body _Clean command does). Usually, this command removes unnecessary faces of a solid converted from the mesh. But in this case, the fact that the solid has been edited, but has not changed externally is used. Sometimes this makes views resume working with the solid. But if the view still shows the solid, but is already corrupted, then any editing of the solid can turn the visually working view into a red square. By default, the option is enabled. Be careful.
When working with a large drawing, the program will show a progress bar. You can interrupt the work at any time by pressing Esc.
At the end of the work, a counter of corrected blocks and solids will be displayed.