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

Display doesn't change using script to open multiple files.

5 REPLIES 5
Reply
Message 1 of 6
BillZndl
573 Views, 5 Replies

Display doesn't change using script to open multiple files.

R2006 vanilla SDI =1

 

When opening drawings with a script,

the commands execute properly but the drawing itself in the grahics display window,

changes only every 4th  or 5th file that the script opens.

 

I've tried regen, redraw, redrawall, update *acad* nothing seems to work.

 

is there a system setting or is this a version specific problem?

 

 

5 REPLIES 5
Message 2 of 6
t.willey
in reply to: BillZndl

I had that issue with scripts also, and I was on '06 too.  I don't see if as a problem though, as your script is just working so fast that the display doesn't have time to catch up.  I think you will notice that the name of the drawing changes each time though, and I think that if you click off of Acad it will show the opening and closing of each drawing.  I used to do that, and I think that is what happens, as I would have email or something up in my second monitor.

Message 3 of 6
Hallex
in reply to: BillZndl

Try add

_delay 500

 

before of the very script block

just an idea? not tested

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Message 4 of 6
BillZndl
in reply to: t.willey

Thanks Tim.

 

Yeah, it's not that big of a deal as far as performance goes.

The only reason I asked is that I was having another user running some scripts and thought it would be better if he could "see" what was happening.  I thought it might be a system setting or something. Oh well.

 

Thanks again.

 

 

Message 5 of 6
BillZndl
in reply to: Hallex

Interestingly enough, adding delay and a regen helped the display problem.

But.... of coarse it slowed things down.  😞

We'll be upgrading to 2010 acad soon so I''ll just run it "as is".

Thanks!

Message 6 of 6
Hallex
in reply to: BillZndl

You're quite welcome

I used it for years as well as with DBX 🙂

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

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

Post to forums  

Autodesk Design & Make Report

”Boost