• 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 Car
  3. CMD problem from A/Car 2017 to A/Car 2018

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 7
  • Subscribers 1
  • Views 9
  • Members are here 0
More Content

CMD problem from A/Car 2017 to A/Car 2018

jpatterson
jpatterson over 7 years ago
I have a cmd file I've used for many years to extract info about my A/Car suspension assemblies. It seems to be crashing now on the last line below in A/Car 2018 and I can't see why. Any thoughts...???
 
defaults function_references show_as = partial_name
!
!------------------------------------------------------------------------------------------------------------
!>>>>>> Capture model, analysis, and subsystem names...
!
var set var=Model_Name object=(eval(db_default(.system_defaults,"model")))
var set var=Analysis_Name object=(eval(db_default(.system_defaults,"analysis")))
var set var=Subsystem_Name string_value=(str_substr(eval(Model_Name.object_value[1]),1,(str_length(eval(Model_Name.object_value[1]))-1)))
var set var=Analysis_Subsystem_Name object=(eval(Analysis_Name.object_value)//eval(Subsystem_Name.string_value))
  • Sign in to reply
  • Cancel
Parents
  • jpatterson
    0 jpatterson over 7 years ago
    As usual, your $0.02 (and Greg's!) are very helpful.
     
    I'll give that "subsystem_lookup" a try.
     
    I have occasionally been getting complaints from ADAMS about a variable existing in more than one place, so I like your suggestion about that, too.
     
    And you're right, I'm absolutely bogged down in my old ways using cmd files. This isn't the first (or last! Blush ) time you've reminded me of the superiority of macros. Old dog...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jpatterson
    0 jpatterson over 7 years ago
    As usual, your $0.02 (and Greg's!) are very helpful.
     
    I'll give that "subsystem_lookup" a try.
     
    I have occasionally been getting complaints from ADAMS about a variable existing in more than one place, so I like your suggestion about that, too.
     
    And you're right, I'm absolutely bogged down in my old ways using cmd files. This isn't the first (or last! Blush ) time you've reminded me of the superiority of macros. Old dog...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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.

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

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