• 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. Adams
  3. ADAMS INSIGHT SCRIPT

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 2
  • Subscribers 3
  • Views 21
  • Members are here 0
More Content

ADAMS INSIGHT SCRIPT

mfarhan
mfarhan over 9 years ago
Renaming ADAMS Insight abbreviation
Renaming ADAMS/Insight (factor & response) is tedious.
 
As shown in the figure above, I have to rename the (abbreviation : r_06) to (mode16_imaginary).
 
Imagine that repeating this process for hundreds of (factors & responses). Its tedious.
 
Is there any script or way that I can rename each of these (factors & response) abbreviation automatically?
  • Sign in to reply
  • Cancel
  • Jesper Slattengren
    0 Jesper Slattengren over 9 years ago
    First, why would you like to have the abbreviation the same as the name? The reason abbreviations exist is that they should be easier to read in complex tables and figures. I do often rename the abbreviation, but to something much shorter thant he anme, such as 'm16im' in your case.
    But anyway, the ADAMS/Insight experiemtn file is a xml file. Easy to edit and a with a good text editor you can quickly create a macro that 
    1. Search for factor name="
    2. Copy the string after this.
    3. Search for "abbreviation">
    4. Replace the string after this with the copied string.
    Using an xml editor could make it even simpler.
    Save your file, open insight and open up the experiment.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Kent West
    0 Kent West over 9 years ago
    Tagging this thread for #Insight ...
     
    I was annoyed by this recently, too, so I logged a Product Enhancement request on this with a suggestion similar to yours. I've also created a script that will live here:
       simcompanion.mscsoftware.com/.../index
    but the darned attachment isn't showing up at the moment. (grrrrr). We should have that fixed shortly, but here's how it works (download attached script..):
     
    c:\MSC.Software\Adams\2017\common\mdi.bat python insight_make_abbrevs.py exp.xml out_file.xml
     
    where:
    insight_make_abbrevs.py    = attached file, saved to your working directory
    exp.xml                                   = name of your Insight experiment, in working directory
    out_file.xml                            = name of new experiment, created in working directory
     

    Attached Files (1)
    insight_make_abbrevs.py.zip
    • 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