Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to prevent AUTOCAD from automatically regenerating model

2 REPLIES 2
Reply
Message 1 of 3
pzweng
103 Views, 2 Replies

How to prevent AUTOCAD from automatically regenerating model

Each time a block is edited by refedit or bedit, the system automatically regenerates into the model, which takes a few seconds and sometimes a few minutes (more time when there are a large number of blocks in the document).

 

Earlier versions had the regenmode variable or regenauto command, but were still automatically regen models for block editing.

 

How to prevent AUTOCAD from automatically regenerating model?

 

2 REPLIES 2
Message 2 of 3
TheCADnoob
in reply to: pzweng

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Slow-performance-a...

 

Have you checked out this article?

Issue:

After editing block contents inside Block Editor in AutoCAD, when exiting and saving changes to the block, the program starts to run slowly.

Causes:

  • Data corruption in the drawing or in attached xrefs.
  • A great amount of unresolved or missing xrefs in the drawing.
  • A great number of block definitions are in the drawing.
  • A great number of clipped xrefs or blocks (visibility sets in dynamic blocks).
  • A great amount of Viewport windows and paper space layouts.

Solution:

Data corruption of content and xrefs

Unload xrefs before entering the block editor and try cleaning and repairing each of them along with the main drawing. See How to repair corrupt AutoCAD files.

Unresolved or Missing xrefs

Resolve or replace the file paths to the xrefs that are not correctly attached in the drawing. See External reference (xref) file is missing or unresolved in AutoCAD.

Managing the performance

After exiting the Block Editor, try doing the following.

  1. Use REGEN or ZOOM EXTENTS frequently. (refreshing the point style using PTYPE command has a similar effect).
  2. Set HPQUICKPREVIEW (SysVar) = OFF
  3. Set DRAWORDERCTL (SysVar) = 0 
  4. Set LAYOUTREGENCTL (SysVar) = 0 or 1 (better 0).


Changing the workflow for a better performance

  • Minimizing paper space Layouts, by dividing the work into a working file (Model space basically), and single or a group of couple paper space Layouts in a separate file, where the Model space file (the working file) is used as xref for plotting purposes.
  • Minimize the use of visibility sets in Blocks. Instead, have each visibility sets as separate blocks in a library palette, and place only the one needed.
  • Consider managing the block as an xref instead of having it as a block object within the drawing.
  • Use the QSELECT and HIDEOBJECTS commands to temporarily reduce the number of blocks that are regenerated after a block edit:
    1. Type the QSELECT (Command) on the command line and Enter.
    2. In the Quick Select Dialog Box drop-down for Object type, select Block Reference.
    3. Select either:
      • A Property and Operator from the respective drop-down.
      • Select All in the Operator drop-down. 
    4. Once the objects are highlighted, type HIDEOBJECT on the command line and Enter.
    5. To edit hidden blocks, use the BE command then select the block to edit from the list.
    6. To make hidden blocks visible, type UNHIDE on the command line and Enter.

CADnoob

EESignature

Message 3 of 3
Kent1Cooper
in reply to: pzweng

I can imagine a danger if it didn't regenerate at least all references to the Block you just edited [if not necessarily the whole drawing].  But how dangerous depends on the extent and nature of the changes you made.  You might be led astray by references to it that are not yet visually updated but that would adversely affect what you do subsequently, if you're not seeing the changes you've already made.  You might even try to re-edit some Block that you already edited, which would at best be a waste of time, but could be more serious.

 

Is the idea that you want to edit multiple Block definitions, but not have the drawing regenerated to update them all on-screen until after you're done with all of them?  [Not that I have any idea whether that's possible....]

Kent Cooper, AIA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report