Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Undo and RegenerateTableSuppressed

0 REPLIES 0
Reply
Message 1 of 1
JamesAllen
378 Views, 0 Replies

Undo and RegenerateTableSuppressed

Something I've wondered and finally just decided to try; haven't found it posted so thought I'd share...

 

Ever noticed how much quicker table operations are wrapped with RegenerateTableSuppressed, but how it still crawls through an undo of it? Figured it was a long shot but this seems to have the intended effect (make it much quicker) both ways:

 

(vla-put-RegenerateTableSuppressed obj :vlax-False)

(vla-put-RegenerateTableSuppressed obj :vlax-True)

;; Do stuff here

(vla-put-RegenerateTableSuppressed obj :vlax-True)

(vla-put-RegenerateTableSuppressed obj :vlax-False)

 

If there is some nasty side-effect, I haven't seen it yet since I've just now tried it, but on initial trial it seems to work great. Enjoy!

--

James Allen

Malicoat-Winslow Engineers, P.C.

Columbia, MO

www.mwengrs.com

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report

”Boost