Home > Community > Forums > PCB SKILL > continuously tracking a point co-ordinate

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: *

 continuously tracking a point co-ordinate 

Last post Thu, Aug 30 2012 12:17 AM by SkilSiao. 2 replies.
Started by SkilSiao 29 Aug 2012 11:52 PM. Topic has 2 replies and 991 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Aug 29 2012 11:52 PM

    • SkilSiao
    • Top 200 Contributor
    • Joined on Wed, Oct 12 2011
    • Posts 38
    • Points 565
    continuously tracking a point co-ordinate Reply

    Hi All, I got an Algo problem here.

    I want to draw a straight line.

    while waiting for user's input of 2nd point with :

    2nd_point = axlEnterPoint(?prompts ...) , I want to capture the cursor position and draw the line 

    first for user to preview, with axlPathStart and axlDBCreatePath...

    then until user confirm and click.

    how shall i go around with this?

    such that the while loop can continuously axlCursorGet(nil)  (so that can draw the line first)

    while it is hung @  2nd_point = axlEnterPoint(?prompts ...). Thx in advance~ 

     

    • Post Points: 20
  • Thu, Aug 30 2012 12:12 AM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 738
    • Points 16,055
    Re: continuously tracking a point co-ordinate Reply
    Look at the rubber band dynamics commands
    Dave Elder, Tait Communications
    • Post Points: 20
  • Thu, Aug 30 2012 12:17 AM

    • SkilSiao
    • Top 200 Contributor
    • Joined on Wed, Oct 12 2011
    • Posts 38
    • Points 565
    Re: continuously tracking a point co-ordinate Reply

    Hi eDave, That is very good enough, thk u very much~

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by SkilSiao at 29 Aug 2012 11:52 PM. Topic has 2 replies.