• 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. PCB Design
  3. tcl Orcad 17.2 : RuntimeError Command Requires Schemati...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 166
  • Views 13311
  • Members are here 0
More Content
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

tcl Orcad 17.2 : RuntimeError Command Requires SchematicView

spirentgabe
spirentgabe over 8 years ago

I'm using Orcad 17.2 and I'm trying set a bunch of part properties to be visible (VALUE_ONLY) or not (DO_NOT_DISPLAY).  I have a function that works for a single selected part instance.  I'd like it to work on all the parts on the whole design.  I have some code for an unrelated function that traverses all the parts in a design and I copied that method of traversing the design but when I run it I get the error:

RuntimeError Command Requires SchematicView

I get a similar popup error if I try to manually change the display properties from the "Edit Object Properties" window.  The only reference I found in the docs about "SchematicView" is a function that returns a boolean to check if SchematicView is enabled or not.

Is there a way to traverse all the parts where it does it in SchematicView mode?  The method I use to traverse the design is copied from Orcad TCL/Tk Extensions manual rev 1.2 (sections 3.2.2 and onward).

  • Cancel
Parents
  • oldmouldy
    oldmouldy over 8 years ago
    You can only change "Display" properties in a Schematic (Page) View, hence the runtime error.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • oldmouldy
    oldmouldy over 8 years ago
    You can only change "Display" properties in a Schematic (Page) View, hence the runtime error.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data
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