+ Reply to Thread
Results 1 to 2 of 2

Thread: Pause drawing with Python?

  1. #1
    Derek G
    Join Date
    Oct 2012
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Pause drawing with Python?

    I am looking to Pause and Refresh the ArcMap drawing within a python script - is this possible?.. I could only find reference to a "IMxApplication2.PauseDrawing Property" tool through C# or Visual basic. Thanks!

  2. #2
    Carl Sunderman
    Join Date
    Jul 2010
    Posts
    23
    Points
    7
    Answers Provided
    1


    0

    Default Re: Pause drawing with Python?

    you could try the sendkeys module

    Code:
    import SendKeys
    # Send the keystroke for F9
    SendKeys.SendKeys("{F9}")

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts