Skip to Main Content
Need Support? Let’s guide you to the right answer or agent.
Status Needs review
Workspace STAAD.Pro
Created by Guest
Created on Mar 28, 2025

Request for Function Creation in OpenSTAAD to Modify Response Spectrum Direction in X, Y, and Z

Request for Function Creation in OpenSTAAD to Modify Response Spectrum Direction in X, Y, and Z

We are working with OpenSTAAD and need to programmatically modify the response spectrum direction values in X, Y, and Z. In the attached image, the value for the X direction is shown (currently 1.42), but we also need to modify the values for Y and Z from a script.

Therefore, we are requesting the creation of a function in OpenSTAAD that allows us to change these values in an automated way.

Function Requirements

  • Access the response spectrum settings in STAAD.Pro.

  • Modify the direction values for the X, Y, and Z axes.

  • Allow users to input desired values for each direction.

Required Format

We would appreciate it if the function could be implemented in VBA or Python, along with a practical usage example.

We sincerely appreciate your support with this request.

Thank you in advance!

  • Admin
    Carlos Aguera
    Reply
    |
    Apr 4, 2025

    Thank you for posting this idea. We are however trying to understand the use case for which providing such a function is needed? Why specifically for response spectrum and not for other load items such as node or member loads? I assume you are thinking that there should be a range of functions to 1) Add the response spectrum, which we can do already, 2) delete the response spectrum (from the active load case if one exists), 3) Get the details of a response spectrum command (from the active load case) , 4) Set (i.e update) the values of an existing response spectrum command. The advantage this command has over most other loading commands is that there can only ever be a single response spectrum command in a given (active load case). Other load commands which also dont have this functionality would need a more sophisticated approach to identify exactly which one of the loads is intended to be modified)