• 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 Scripting - TCL
  3. How to always open the first schematic page when using ...

Stats

  • State Not Answered
  • Replies 2
  • Subscribers 12
  • Views 277
  • Members are here 0
More Content

How to always open the first schematic page when using "openProject" to open a .cpm file?

Gelzone
Gelzone 4 days ago

As title, I found sometimes I opened a project with command openProject, it would open the page I had modified last time.

Most of the time it will open the first page (and that's what I want), so I'd like to ask that is there any way to "reset" the status of the project or just force the openProject to open the first page only?

  • Cancel
  • Sign in to reply
  • CadAP
    0 CadAP 3 days ago

    Gelzone 

    I've had multiple attempts but wasn't able to reproduce the behavior you mentioned.

    However, I think there might be an alternative solution:

    you can register a tcl command that opens the first page of a design, which will be triggered whenever someone opens the project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Gelzone
    0 Gelzone 2 days ago in reply to CadAP

    Yes, I can check which page is open using such as cps::getSPathByTabIndex and decide to close it or keep doing the task. I just wonder if there is any function I can call.

    BTW, the process I have done is: open a page -> modify a properties of a component (e.g. modifyProp -name PART_NUMBER -value "ttt1") -> save -> do not close the page and directly close the ASC (Allegro PCB Venture 23.1 S006 (4217799) 7/18/2024 64-bit) -> reopen ASC and the project then it will open the modified page

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