• 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
  • sai vardhan
    sai vardhan over 4 years ago

    *WARNING* (GE-2067): geComputeQueryBbox: There is no graphical edit environment assigned to window(385) 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.

    *Error* geqp: can't handle (-3.3125 >= nil)

    how to solve this problem in cadence? If you know please help me.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • sai vardhan
    sai vardhan over 4 years ago

    *WARNING* (GE-2067): geComputeQueryBbox: There is no graphical edit environment assigned to window(385) 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.

    *Error* geqp: can't handle (-3.3125 >= nil)

    how to solve this problem in cadence? If you know please help me.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to sai vardhan

    First of all, please read the forum guidelines. You've posted on the end of a 9 year old thread and it's not that obvious that your query is anything to do with the original post either.

    I don't know what you're doing - you've just given a warning and error message without indication of what your code (or even if you're using any code) is doing. It appears that geComputeQueryBbox is being called either with a window argument or with the default argument when the current window is not a layout/schematic/symbol window (or there is no current window). Because of that, it returns nil - and maybe some operation is then done which is using >= (geqp). However, this is pure guesswork on my part! If I'm right, you need to either pass a valid window or ensure that the current window (if relying on the default behaviour) is the right kind of window.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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