Jump to content

Recommended Posts

Posted

I run a long script on my drawings which at several points opens up the command-line window (equivalent of pressing F2) and then also closes it by itself. It doesn't affect the running of the script in any way except that as you watch the script in action you get this window repeatedly flashing open and closed in very quick succession, and I feel that I almost ought to put one of those epilepsy warnings on it! Funny thing is that on my home PC this doesn't happen, so I guess it must be some setting/variable that's different? Can anyone suggest what this might be? Thanks.

 

(AC 2010)

Posted

I am unaware of what system variable (if any) would change this.

 

However, if you were to scan your script's code, and remove any calls for textpage, or textscr (for opening the F2 window), and graphscrn for closing the F2 window)... this *may* resolve your epileptic response. :wink:

Posted

Thanks for the suggestions renderman, but none of those commands are used in my script. It's quite hard to see where exactly this is occurring in the process because it flashes up so quickly, but I think one of the parts it does it is during a section where my script merges a load of layers. I think there are other time it does it too, but by then I'm fitting and not able to tell!

Posted

Your script may not be the offending function... your script may call another routine (to be run on the drawing), which holds one or more of the above mentioned function calls.

Posted

Or it could be a routine running automatically (e.g. a reactor / something in AcadDoc.Lsp / or such). That would explain why it only happens on some PC's and not others.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...