rsseismic.SoilLayer module#
- class rsseismic.SoilLayer.SoilLayer(client: Client, modelId: str, layerId: str)#
Bases:
_ProxyObject,SoilLayerPropertiesMixinRead and edit properties for one soil layer on a profile.
Obtain an instance from
model.Profiles.getSoilLayer(layerId). Layer IDs come frommodel.Profiles.listSoilLayers()orlistActiveSoilLayers().Use the generated
get*/set*helpers for scalar layer properties such as thickness, unit weight, and soil model. Reference curves are edited throughlayer.ReferenceCurve; fitted dynamics and curve fitting uselayer.Curve. UsecreateElementTestLayer()to open a Single Element Test working copy that does not modify this profile layer.- property layerId: str#
- createElementTestLayer(profileName: str = '') ElementTestLayer#
Create a Single Element Test working copy of this soil layer.
The working copy starts from the current layer properties. Edits and runs on the returned
ElementTestLayerdo not change this profile layer. Single Element Test requires Nonlinear analysis with the Lumped Mass solver and is not available for mean-profile layers.- Parameters:
profileName – Profile that owns this layer. Leave empty to use the active profile.
- Returns:
An
ElementTestLayeryou can configure, run, and close. Prefer awithblock so the working copy is released when you are done.