• 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. How to pass window Location inside axlUIViewFileCreate

Stats

  • Replies 5
  • Subscribers 158
  • Views 13275
  • Members are here 0
More Content

How to pass window Location inside axlUIViewFileCreate

pcbnagaraj
pcbnagaraj over 13 years ago

 Dear All,

 

I am trying to pass location of window inside the  axlUIViewFileCreate.

I am unable to get a reference/example inside the algroskill.pdf and other help documents.

I tried below but no success 

  axlUIViewFileCreate("symbol.log" , "Symbol Property", nil ?lt_placement "n")

axlUIViewFileCreate("symbol.log" , "Symbol Property", nil "n")

axlUIViewFileCreate("symbol.log" , "Symbol Property", nil  "north")

 Thanks for your help.

Regards,

Nagaraj.

  • Sign in to reply
  • Cancel
  • fxffxf
    fxffxf over 13 years ago

    There are two modes of operation depending upon the view file window type:

    • new style html based window (env variable "set allegro_html" being used). If this msg window is enabled you will see a push pin in the upper left corne.
    • old style text window

    HTML STYLE:

    • Option is currently ignored
    • System remembers user position on subsequent invocations.

    OL D STYLE:

    • The default placement is relative to the Allegro window NOT the desktop. A suggestion of "north" is to position the window within the Allegro main window at the top middle. This is a suggestion; if it can't place the window at that location (such as it will be outside the desktop) then it will do its best.
    • If this was a form (e.g. axlFormCreate), this only applies the 1st time. The system remembers and saves (<HOME>/pcbenv/allegro.geo), the user's desired positioning of the form window.

    If you want to place the window outside of the allegro window then you need to use "outer". The argument expects a list of placement suggestions.

    position = '("outer" "east")  ; try to position the window to the right of the Allegro window

    axlUIViewFileCreate("symbol.log" "Symbol Property", nil position)

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • pcbnagaraj
    pcbnagaraj over 13 years ago
    Hello Frank,

    I tried but results in below warning message and no change in window placement. My interest is to place window within Allegro GUI.

    I have two reports to display to user but both get displayed one above the other.

    I need to know how to pass the Window placement(page 459 of algroskill.pdf under user interface functions->window placement) arguments inside axlUIViewFileCreate.

    Skill > position = '("outer" "east")

    ("outer" "east")

    Skill > axlUIViewFileCreate("symbol.log" "Symbol Property", nil position)

    W- *WARNING* (axlViewFileCreate): Invalid integer - "outer"

    windowMsg:97394056

    Appreciate your help.

    Thanks,

    Nagaraj.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fxffxf
    fxffxf over 13 years ago
    mistype, try: axlUIViewFileCreate("symbol.log" "Symbol Property", nil nil position)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • pcbnagaraj
    pcbnagaraj over 13 years ago
    Now no errors, but both the windows still popup one over the other in the same location. I have the “Enable HTML” variable set.

    position = '("outer" "east")

    axlUIViewFileCreate("symbol.log" "Symbol Property", nil nil position)

    position = '("outer" "west")

    axlUIViewFileCreate("pin.log" "pin Property", nil nil position)

    TIA,

    Nagaraj.

     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fxffxf
    fxffxf over 13 years ago

     With the HTML style the positioning option iscurrently not supported.

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