Visual LISP, AutoLISP and General Customization

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

Undo and RegenerateTableSuppressed

154 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community