Source code for viiapackage.pictures.result_pictures.result_plots_nlth

### ===================================================================================================================
###   Result pictures for NLTH analysis
### ===================================================================================================================
# Copyright ©VIIA 2024

### ===================================================================================================================
###   1. Import modules
### ===================================================================================================================

# General imports
from __future__ import annotations
from typing import TYPE_CHECKING, List

# References for functions and classes in the rhdhv_fem package
from rhdhv_fem.analyses import Analysis
from rhdhv_fem.pictures import ResultPicture

# References for functions and classes in the viiaPackage
if TYPE_CHECKING:
    from viiapackage.viiaStatus import ViiaProject
from viiapackage.pictures.result_pictures.helper_functions import viia_create_result_pictures_plots


### ===================================================================================================================
###   2. Function to create the NLTH result pictures
### ===================================================================================================================

[docs]def viia_create_result_plots_nlth(project: ViiaProject, analysis: Analysis = None) -> List[ResultPicture]: """ Function to create the NLTH analysis result plots. Input: - project (obj): VIIA project object containing collections of fem objects and project variables. - analysis (obj): Object reference of analysis, to retrieve the result case, result items, result file and relevant information. If None is provided it will be checked if there is only one analysis and that one will be taken. Default is None. Output: - Returns the result plots created for nonlinear time-history analysis. """ return viia_create_result_pictures_plots(project=project, analysis=analysis, pictures=False)
### =================================================================================================================== ### 3. End of script ### ===================================================================================================================