• 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. SKILL to move Cadence Windows to Specific GNOME Workspa...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 11119
  • 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

SKILL to move Cadence Windows to Specific GNOME Workspace

Tom Sawyer
Tom Sawyer over 4 years ago

Hi Cadence Forum,

I have this SKILL script I'm loading to arrange the Layout & Schematic windows in specific coordinates.
 
envSetVal("layout" "layoutWindow" 'string "((X1 Y1) (X2 Y2))")
envSetVal("layoutL" "layoutWindow" 'string "((X1 Y1) (X2 Y2))")
envSetVal("layoutXL" "layoutWindow" 'string "((X1 Y1) (X2 Y2))")
envSetVal("layoutGXL" "layoutWindow" 'string "((X1 Y1) (X2 Y2))")
envSetVal("layout" "schematicWindow" 'string "((X3 Y3) (X4 Y4))")
envSetVal("layoutL" "schematicWindow" 'string "((X3 Y3) (X4 Y4))")
envSetVal("layoutXL" "schematicWindow" 'string "((X3 Y3) (X4 Y4))")
envSetVal("layoutGXL" "schematicWindow" 'string "((X3 Y3) (X4 Y4))")

I am looking for a way to also place these windows on a specific workspace.
For example, place the Layout on Workspace 1 while the schematic is placed on Workspace 2.
How can I implement this also on the CIW and other dialog pop-ups?

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    I don't think this is possible. Perhaps you could use xdotool to do something like this (this is purely from a google search and I've not tried it as I don't have xdotool installed on my machine). It requires interfacing to Gnome's APIs probably (assuming this is even possible) rather than being an X API, so probably rather difficult to generalise.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Tom Sawyer
    Tom Sawyer over 4 years ago in reply to Andrew Beckett

    Hi Andrew. How about implementing this SKILL script for CIW and pop-up dialogs, just place them on specific coordinate. What should I change on my current script?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Tom Sawyer

    The CIW can be controlled by using hiMoveWindow(hiGetCIWindow() bBox). In fact any specific window can be moved that way.

    The current form location controls (documented in "Specifying User Preference Options" section of the "Specifying Environment Settings" chapter of the Virtuoso Design Environment User Guide) are the current best way to control initial form location.

    The options are properties of the CIW and can be set in one's .cdsinit file.
    They are:

      hiGetCIWindow()->formPlacement

    for regular forms and

      hiGetCIWindow()->optionFormPlacement

    for options forms (enterfunction forms), where the options are "top", "bottom", "left", "right", "center", "default".

    And there are:

      hiGetCIWindow()->formRelativeTo

    for regular forms and

      hiGetCIWindow()->optionFormRelativeTo

    for options forms (enterfunction forms), where the options are "CIW", "screen", "currentWindow".

    For Dialog boxes, you can use the SKILL function hiSetDBoxDefaultLocation(location) - see the docs for more details. Note this doesn't affect any dialog box that specifically specifies its own location via the ?location argument when displaying the dialog box.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Tom Sawyer

    The CIW can be controlled by using hiMoveWindow(hiGetCIWindow() bBox). In fact any specific window can be moved that way.

    The current form location controls (documented in "Specifying User Preference Options" section of the "Specifying Environment Settings" chapter of the Virtuoso Design Environment User Guide) are the current best way to control initial form location.

    The options are properties of the CIW and can be set in one's .cdsinit file.
    They are:

      hiGetCIWindow()->formPlacement

    for regular forms and

      hiGetCIWindow()->optionFormPlacement

    for options forms (enterfunction forms), where the options are "top", "bottom", "left", "right", "center", "default".

    And there are:

      hiGetCIWindow()->formRelativeTo

    for regular forms and

      hiGetCIWindow()->optionFormRelativeTo

    for options forms (enterfunction forms), where the options are "CIW", "screen", "currentWindow".

    For Dialog boxes, you can use the SKILL function hiSetDBoxDefaultLocation(location) - see the docs for more details. Note this doesn't affect any dialog box that specifically specifies its own location via the ?location argument when displaying the dialog box.

    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