Reflecting on the procedure for defining a model when using the graphical user interface for RFEM or RSTAB, a model type is to be selected right from the beginning. The model type defines the considered degrees of freedom in the analysis. The procedure is no different in Webservices. When not explictily called, a model of type "3D" is assumed. Changes can be made using an appropriate function call.
SetModelType()
For large models, the number of load cases and combinations can become significantly large. In the interest of reduced computation time and/or specific load condition(s) consideration(s), a select number of load cases may defined.
CalculatedSelectedCases()
The above function calls (as well as any load case, load and combination definitions) result in edits to the model object. As such, these function calls should be implemented within the begin_modification and finish_modification calls (see Create or Access a RFEM/RSTAB File). Once a model object has been defined in its entirety (geometry, sections, materials, loads, supports, analysis settings etc.) the model can be calculated. This is not an edit to the model and thus is written after the finish_modification call.
CalculateAll()
Refer to example files for guidance on defining loads, load cases, load combinations, analysis settings etc.