• 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. Custom IC SKILL
  3. Please tell me How can I make option window that open by...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 12589
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Please tell me How can I make option window that open by F3 Key.

jjoon2
jjoon2 over 3 years ago
My skills automatically change the properties (location, size, etc.) of the two selected objects.
It is a process that enters a skill execution command (or BindKey) into the CIW and clicks two objects with a mouse.
(command --> Mouse Click X 2 (objects select) --> Auto Property Change )

But I want to press the "F3 key" (hiToggleEnterFun) to launch an option window for this skill.
When executing a skill, I would like the window to appear only when I want the F3 input, not the option window.
Like the features provided by Virtuoso by default(leHiCreateRect, leHiCreatePath, etc). 

i know how to make a desired form of format using hiCreateAppForm, but I don't know how to connect it to HitoggleEnterFun (F3).
Please tell me How can I make option window that open by F3 Key.
  • Cancel
Parents
  • AurelBuche
    AurelBuche over 3 years ago

    Hi,

    You might have two way of doing this:

    1.

    If your mouse clicks to select objects are done using an enter function: enterPoint, enterPoints, ...

    Then you just have to bind your menu using the arguments of the enter function, see bold arguments below:

    (enterPoint
     [ ?prompts l_promptList ]
    [ ?points l_pointList ]
    [ ?form s_form ]
    [ ?addPointProc t_addProcName ]
    [ ?delPointProc t_delProcName ]
    [ ?initProc t_initProcName ]
    [ ?doneProc t_doneProcName ]
    [ ?formProc t_formProcName ]
    [ ?alwaysMap g_alwaysMap ]
    [ ?acceptString g_acceptString ]
    [ ?acceptNumber g_acceptNumber ]
    [ ?noInfix g_noInfix ]
    [ ?cmdName t_cmdName ]
    [ ?cursor x_cursor ]
    )

    2.

    If you are doing things differently, you might still be able to bind F3 to the function to display your form and re-bind it afterward

    (let ((bk (hiGetBindKey "Layout" "<Key>F3")))
    (hiSetBindKey "Layout" "<Key>F3" "(display_your_form)")
    ;; Safely re-bind F3
    (unwindProtect
    (progn
    ;; Run your code
    ...
    )
    (hiSetBindKey "Layout" "<Key>F3" bk)
    ))



    Note that I haven't ran this code snippet


    Hope this might help,

    Cheers,
    Aurel
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jjoon2
    jjoon2 over 3 years ago in reply to AurelBuche

    I solved this problem using "?poins" option.

    I really appreciata your kindness.혻

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jjoon2
    jjoon2 over 3 years ago in reply to AurelBuche

    I solved this problem using "?poins" option.

    I really appreciata your kindness.혻

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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