Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
JamesAllen
Posts: 6
Registered: ‎09-30-2008
Message 1 of 1 (167 Views)

Undo and RegenerateTableSuppressed

167 Views, 0 Replies
05-01-2012 09:50 AM

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.