N2PReport#
- class NaxToPy.Core.Classes.N2PReport.N2PReport(vz_model, lc_incr: str, allincr: bool, result: str, componentssections: str, ifenvelope: bool, selection: list[N2PNode, N2PElement], sortby: str, aveSections=-1, cornerData=False, aveNodes=-1, variation=100, realPolar=0, coordsys: int = -1000, v1: tuple | ndarray = (1, 0, 0), v2: tuple | ndarray = (0, 1, 0))[source]#
Bases:
objectClass that contains the data of a report. It includes the input data: load cases, the selection (that could be a list of N2PNode or N2PElement), if envelope,… and the output data: results array asked
- property Body: ndarray#
Returns a ndarray of strings with the results of the report asked
- property CompSections: str#
Formula with the components and it sections
- property Enevelope: bool#
True if the envelope of the elements/nodes is asked
- property Headers: ndarray#
Returns a ndarray of strings with the headers
- property LC_FR: str#
Formula with the load cases and increments/frames
- property OptianlArgs: dict#
“aveSections”, “cornerData”, “aveNodes”, “variation”, “realPolar”, “coordsys”, “v1”, “v2”
- Type:
Dictionary with the values of the optional arguments
- property Result: str#
Result where de components are asked
- property Selection: list[N2PNode | N2PElement]#
List of N2PNodes or N2PElement where the results for the report is asked
- property SortBy: str#
Can be “LC” if is load case shorted or “IDS” if is by id of the element/node. (“LC” means all the elements for LC1, then all elements for LC2… While “IDS” is for element1 all LC, then element2 for all LC…)