Home > Community > Forums > PCB SKILL > Zoom scrolling & worksheet environment script problem

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Zoom scrolling & worksheet environment script problem 

Last post Mon, Jun 7 2010 11:43 PM by Prasad K. 2 replies.
Started by Prasad K 03 Jun 2010 10:29 PM. Topic has 2 replies and 1621 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Jun 3 2010 10:29 PM

    • Prasad K
    • Not Ranked
    • Joined on Tue, Apr 6 2010
    • Posts 5
    • Points 70
    Zoom scrolling & worksheet environment script problem Reply

    Hello,

    Firstly, I am new to allegro and I am not a scripter.

    I am using script mentioned below for scrolling worksheet up & down by mouse wheel, but I am facing the problem for vertical scrolling as it stops between the design & dosent allow to scroll downwards. Horizantal scrolling works perfectly.

    # use scroll button on mouse to scroll vertically
    button  wheel_up  "roam y -$roamInc"
    button  wheel_down  "roam y $roamInc"

    # use shift + scroll button on mouse to scroll horizontally
    button  Swheel_up  "roam x -$roamInc"
    button  Swheel_down "roam x $roamInc" 

    Also I can access my worksheet only upto (-128, 161) mm in X direction & (71, -128) mm in Y direction.

    How can I increase worksheet size?

     

    • Post Points: 20
  • Mon, Jun 7 2010 10:24 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    Re: Zoom scrolling & worksheet environment script problem Reply

    Hi

    Your scroll functions should work fine, mine are the exact same and have no issues, maybe you need an update to your installation?

    You can change worksheet size in Setup->Design Parameters->Design

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Mon, Jun 7 2010 11:43 PM

    • Prasad K
    • Not Ranked
    • Joined on Tue, Apr 6 2010
    • Posts 5
    • Points 70
    Re: Zoom scrolling & worksheet environment script problem Reply
    Hello Ole, By expanding worksheet size, scrolling function now working fine. Thanks for the reply. Regards, Prasad
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Prasad K at 03 Jun 2010 10:29 PM. Topic has 2 replies.