• 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. Changing script parameters & "Replay" from skil functio...

Stats

  • Replies 6
  • Subscribers 161
  • Views 3983
  • Members are here 0
More Content

Changing script parameters & "Replay" from skil function

Kadar
Kadar over 14 years ago

Hi ALL,

1) How can I replay a recorded script   but with different parameters(different pick coordinates for example)?

2) I've defined Funckey for Skill function that replays script(axlShell("replay  C:\\Scripts\\Shape_Connection"), then I've tried the function using the

funckey from COMMAND LINE and got this:

W- Cannot exit current application
E- Form field label not found
E- Command not found: fillin GND
E- Form field label not found
E- No command active
E- Form field label not found

I entered the Skill MODE, typed Skill function name and it replayed the script(the script  creates solid shape with specified net, on specified layer, using 8 pick points)

The question is how can I replay script from inside Skill function being in COMMAND MODE?

Thank You All

Evgeni

 

  • Sign in to reply
  • Cancel
Parents
  • Kadar
    Kadar over 14 years ago

    Hi Ole,

    This is not exact thing I want to do.

    I want to create funckey(one button only) to get rotating(toggling) mode switching.

    Ctrl+S ---> enterinng Skill function, inside Skill function

    I used inside a loop: EVENT_MASK=list('PICK 'DBLPICK) 

     EVEN=axlEnterEvent(EVENT_MASK   OPTION   nil)

    to toggle(only printing to user) between:Pin,Via, Segment Vertex,.......  when EVENT->type=='PICK

    And when EVENT->type=='DBLPICK - breaking loop and executing ... "prepopup;pop dyn_option_select 'Snap pick to@:@Pin'"

    Where "Pin" last printed OPTION to user.

    But it's not so smooth, becase I never get  EVENT->type=='DBLPICK, because the 'PICK  always comes before 'DBLPICK.

    If You understood my question maybe You would generate some idea. 

     Thank YOU,

    Evgeni 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Kadar
    Kadar over 14 years ago

    Hi Ole,

    This is not exact thing I want to do.

    I want to create funckey(one button only) to get rotating(toggling) mode switching.

    Ctrl+S ---> enterinng Skill function, inside Skill function

    I used inside a loop: EVENT_MASK=list('PICK 'DBLPICK) 

     EVEN=axlEnterEvent(EVENT_MASK   OPTION   nil)

    to toggle(only printing to user) between:Pin,Via, Segment Vertex,.......  when EVENT->type=='PICK

    And when EVENT->type=='DBLPICK - breaking loop and executing ... "prepopup;pop dyn_option_select 'Snap pick to@:@Pin'"

    Where "Pin" last printed OPTION to user.

    But it's not so smooth, becase I never get  EVENT->type=='DBLPICK, because the 'PICK  always comes before 'DBLPICK.

    If You understood my question maybe You would generate some idea. 

     Thank YOU,

    Evgeni 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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