hexagon logo

ADAMS INSIGHT SCRIPT

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?
Parents
  • 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.
Reply
  • 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.
Children
No Data