• 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. Patran
  3. Is it possible to dump load case id, load case name etc...

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

Is it possible to dump load case id, load case name etc... in to excel using PCL function ?

vishal.kalkunte
vishal.kalkunte over 9 years ago
Is it possible to dump load case id, load case name etc... in to excel using PCL function ?
  • Sign in to reply
  • Cancel
  • Ken Walker
    0 Ken Walker over 9 years ago
    PCL does not have a direct interface to Excel. However, you can extract this info and write to a comma delimited file (.csv) and import to Excel. I discussed some of the PCL functionality in my previous post about automating contour plot creation for Pressure LBCs.
    You can retrieve Load Case info from the database using functions documented in Patran PCL and Customization . Take a look at Chapter 8: Accessing the Patran Database; specifically sections on Load Cases. Load case info is extracted with a combination of db_get_all_ and db_get_next_ to cycle thru the loadcase names.
     
    Attached is a short function that shows the basic process. It does a limited write to the session file. You can modify to write to a file and use string formatting to clean up the output. This is a prototype and doesn't have a GUI or error checking. It should get you started.
    To run in Patran enter:
    !! INPUT dump_all_loadcases.pcl
    dump_all_loadcases()
     
    Regards,
    -Ken

    Attached Files (1)
    dump_all_loadcases.pcl.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