I am running this routine for building the layers in a drawing.
http://www.theswamp.org/index.php?topic=8763.302007-2009 verticals it worked terrific.
For some reason in 2010 it hangs up often for 5-25 seconds when I fire the command from a button call.
It works fine after I call the routine from the command line, so I am not sure why it loads so slowly from a button.
For exampleIn a button call:
^C^C_LRS;E-POWR-CIRC;^C^C(ticks "electrical/E-Tick Mark - POWR-3")
it seemed simple enough. But unless I ran the LRS command from the command prompt once, it tanked slowly.
Then I got curious...
^C^C_LRS;E-POWR-CIRC;(ticks "electrical/E-Tick Mark - POWR-3")
Command fired quickly after closing and opening the file again.
So I closed out of AutoCAD completely to see if it really was the cancels causing the slow commands...
I guess it was, the problem seems to be gone after 4 different test files.
I'm curious why?
I wondered if it could have something to do with the Legacy command scripting capability they put into 2010?
I'm curious if anyone else has ran into this?