rs3.results.SolidNodalResults module#
- class rs3.results.SolidNodalResults.SolidNodalResults(grpcNodalResults, dataTypeToIndexMap: Dict[SolidsDataType, int])#
Bases:
objectNodal result wrapper with per-material data access.
Notes
EntityNames/EntityIDs correspond to owning entities for this node.
getResult(dataType, materialName=None) returns the average across materials when materialName is None.
- property NodeID#
- property XCoordinate#
- property YCoordinate#
- property ZCoordinate#
- property EntityNames#
- property EntityIDs#
- property MaterialProperties#
- getResult(dataType: str | SolidsDataType, materialName: str | None = None) float#
Get a nodal result by data type.
- Parameters:
dataType – Union[str, SolidsDataType] Either a SolidsDataType enum member or a free-form string. Free-form strings are normalized (NFKC + casefold + separators removed) and resolved against SolidsDataAlias.alias. Examples: SolidsDataType.SIGMA_1_EFFECTIVE, “sigma1”, “Stress P Major”.
materialName – Optional[str] When provided, return the value for that specific material. When None, return the average across materials.
- Returns:
The requested value (material-specific or averaged).
- Return type:
float