• 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. How to create an graphic editable window?

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 16320
  • 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

How to create an graphic editable window?

Renee
Renee over 13 years ago
Hi,

 I would like to create a graphic window with a dockable form by programming like below:

win1 = hiCreateWindow('default "graphics" "zl_win" "" t)

ses1 = hiCreateWindow('default "session" "zl_ses" "" t)

dock1 = hiCreateDockWindow(?appType "zl_dock1" ?widgetType "form" ?form hiCreateAppForm(?name 'TheForm1 ?formTitle "Test" ?fields list(list(layer_id 20:0 220:30 160))))

hiDockWindow(?window dock1 ?session ses1)

hiDisplayWindow(win1 ses1)

After the window is created, I would like to draw layout within it, however, it says that:

*WARNING* No application registered for prefix zl_win

Then I write: hiRegisterBindKeyPrefix("zl_win" "graphics"). After that, I tried to use the command:

dbCreateRect(geGetEditRep(window(10)) list((0 0) (10 10)) list("met1" "drawing"))

to draw a rect. It failed and said that:

*WARNING* (GE-2067): geGetEditCellView: There is no graphical edit environment assigned to window(10) because the window is not a graphic editor window.

Make sure that your current window is a valid graphic editor window.

If it is a valid graph editor window, contact customer service to investigate this issue.

I don't know how to assign a graphical edit environment to the window, besides I think I already created a graphic window. Why isn't it recongnized?


Thanks in advance

Renee
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Renee,

    Use geOpen(?window win1 ?lib "opamp090" ?cell "adc_sample_hold" ?view "layout_final") for example.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Renee,

    Use geOpen(?window win1 ?lib "opamp090" ?cell "adc_sample_hold" ?view "layout_final") for example.

    Andrew.

    • 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