rsseismic.properties package#

Property access helpers for RSSeismic scripting entities.

Generic escape hatch (getDoubleProperty, setEnumValue, …):

Generic get/set property access for RSSeismic DataService stubs.

class rsseismic.properties._PropertyAccessor.PropertyAccessor(client: Client, objectId: str, stub: Any)#

Bases: object

Generic model-scoped property access via GetProperty / SetProperty RPCs.

objectId is the open model ID (modelId). Used by ProjectSettings and ProfileGenerationSettings. For layer GUID–scoped access, use ProjectScopedPropertyAccessor.

getProperty(propertyName: str) Any#
setProperty(propertyName: str, value: Any) None#
getDoubleProperty(propertyName: str) float#
setDoubleProperty(propertyName: str, value: float) None#
getFloatProperty(propertyName: str) float#
setFloatProperty(propertyName: str, value: float) None#
getIntProperty(propertyName: str) int#
setIntProperty(propertyName: str, value: int) None#
getLongProperty(propertyName: str) int#
setLongProperty(propertyName: str, value: int) None#
getBoolValue(propertyName: str) bool#
setBoolValue(propertyName: str, value: bool) None#
getStringValue(propertyName: str) str#
setStringValue(propertyName: str, value: str) None#
getBytesValue(propertyName: str) bytes#
setBytesValue(propertyName: str, value: bytes) None#
getEnumValue(propertyName: str, enumType: type) Any#
setEnumValue(propertyName: str, value: str | Enum) None#
class rsseismic.properties._PropertyAccessor.ProjectScopedPropertyAccessor(client: Client, projectId: str, objectId: str, stub: Any)#

Bases: PropertyAccessor

Layer-scoped property access via GetPropertyInProject / SetPropertyInProject RPCs.

projectId is the open model ID (modelId). objectId is the entity GUID (soil layer, bedrock layer, or reference curve on a layer). Used by SoilLayer, BedrockLayer, ReferenceCurve, and MeanProfileSoilLayer. Also exposes getColor / setColor when the backing DataService supports it.

getColor() bytes#
setColor(argbBytes: bytes) None#

Typed property mixins: