Skip to Main Content
STAAD.Pro Ideas Portal

Welcome to the STAAD.Pro Ideas portal. The purpose of this site is to post ideas for enhancements and new features. We value your feedback and our team regularly reviews your suggestions for consideration in future releases.

You have 3 options for providing feedback:

  1. Vote for an existing Idea. The popularity of an Idea helps us understand its importance to our users.

  2. Comment on an existing Idea. We want to hear your unique point of view.

  3. Add a new Idea. If no existing Idea describes what you would like, add a new one!

When you Vote, Comment, or Add an idea you will also be subscribed to that Idea and will receive status updates. Please note that we may merge or rename Ideas for clarity. Thank you for your support and feedback, it is always appreciated!

Status Future consideration
Created by Srinivasa Rao Masanam
Created on Oct 6, 2023

OpenSTAAD Function to Retrieve Errors and Warnings

Currently OpenSTAAD provides OpenSTAADUI:AnalyzeEx() which upon completion of the analysis returns an integer indicating the status analysis.

However, it will be helpful if there is a function which provides more information about the Errors and Warnings (may be in the form of a collection) in case the analysis was not completed successfully apart from provided the status.

As most of these errors or warnings are common, based on the type of error or warning, the automation tasks can continue or abort. This helps in utilizing the full power of the automation.

  • Admin
    Carlos Aguera
    Reply
    |
    Oct 6, 2023

    Thank you for posting this idea. It does seem like an interesting request. Maybe something along the lines of GetAnalysisErrorInformation(AnalysisStatus, ErrorMessageArray(), WarningMessageArray(), NoteMessageArray()).Where the AnalysisStatus could indicate if the analysis completed successfully or not, then the three arrays would be used to obtain the messages (sizes can be determined from the functionGetAnalysisStatus(). If successful (i.e. no errors/warnings/notes, then all the arrays would be empty. Or are you thinking of something that could be called 'during' the analysis to monitor issues and if necessary used to terminate the analysis? If so then other functions would be needed to get 'live status info and also another to call for termination such as AnalyzeTerminate() the function returning if this was successful or failed such as due to the analysis not currently running.

    2 replies