• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. How to get dynamic cursor's location?

Stats

  • Replies 18
  • Subscribers 160
  • Views 8203
  • Members are here 0
More Content

How to get dynamic cursor's location?

leonlee
leonlee over 15 years ago

Hello everybody,

 I'd like to get the dynamic cursor location in a program, and take it as a variant. But I can't find the command or solution.

 Is there any SKILL command, which returns dynamic cursor's xy location? Like as AxlEnterPoint or AxlLastPick to get the point data .

Have a good day!

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 15 years ago

    Yes. 16.x only.

    Yskics,

    Great tool, thanks for sharing it. 

    I have included your dll call in an application (to add a layer window coupon). There seems to be a memory leak somewhere. The problem may well be with my Skill code but I suspect the leak is in the dll. Have you seen any similar problems?

    Regards, Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • yskics
    yskics over 15 years ago

    Dave,

    I run this skill about 2000 times, and nothing had happened. I am sorry that I am not so familier with Skill, could you tell me what happened when the leakage occurs, did your prog collapsed? And how to find out that there is a mem leakage, is there some SKILL function which monitors memory?

    BTW, I am interested in your application, what the layer window coupon looks like?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 15 years ago

    Hi,

    It's good to hear that you haven't had problems. I can now discount that as the cause of my problems.I have ages trying to discover why Allegro crashes running my utility. I think the problem may be related to my use of the axlDBCreateSymbolSkeleton command - not the cursor location utility.

    Because Allegro just crashes, I don't get a chance to analyse the problem as well as I would like - and I don't have any memory analysis tools.

    Attached is an image showing the use of my layer window tool. It calculates a "layer window" with one rectangle and layer number for each board layer. Thanks to your utility I can automatically rotate the cursor dynamics depending on which edge of the board the cursor is hovering over. I then highlight the cursor graphics, when a valid location is found, and the user can drop the symbol onto the board edge. It also handles negative layers and eats back any anti-etch lines

    Dave

    • layerWindow.jpg
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information