• 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. MSC Apex
  3. Can we switch between Adams Modeler and Adams View through...

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 1
  • Views 13
  • Members are here 0
More Content

Can we switch between Adams Modeler and Adams View through a macro/python script from within Adams Modeler?

sushravu
sushravu over 4 years ago
Can we switch between Adams Modeler and Adams View through a macro/python script from within Adams Modeler?
  • Sign in to reply
  • Cancel
  • Darrel Sinclair
    0 Darrel Sinclair over 4 years ago
    As a general tip, you can usually find scripting commands you need by recording a macro of the operation and inspecting the resulting file:
    Screen Shot 07-15-22 at 11.10 AM
    For your particular task the commands appear to be:
    apex.hideAppGui() to switch from Modeler to View
    apex.showAppGui() to switch back again
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • sushravu
    0 sushravu over 4 years ago
    I had tried this. This does not work for me. Below is the error:
    ---------------------------------------------------------------------
    Python exception encountered running script.
    Traceback (most recent call last):
     File "<string>", line 3, in <module>
     File "C:/Users/RavuriS/Documents/Adams Modeler Workspace/Macros/Macro 3.py", line 31, in <module>
      apex.hideAppGui()
    AttributeError: module 'apex' has no attribute 'hideAppGui'
     
    **************************************
    Output (Prior to Exception):
    ----------------------------------------------------------------------------
    I wanted to create a workflow in which I would perform a few steps in Modeler, switch to View, perform a few more steps and switch back to Modeler. As soon as I switch to View, Modeler stops recording.
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Darrel Sinclair
    0 Darrel Sinclair over 4 years ago
    Sorry, I should have tested that properly before I answered... It looks to me like this workflow is not supported yet.
    • 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.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information