AbutmentWallProfile#
Abutment wall section profile in the project property library.
Dimension keys are listed in
ABUTMENT_DIMENSION_NAMES.
Proxy object representing an abutment wall section profile in RSWall.
- rswall.AbutmentWallProfile.ABUTMENT_DIMENSION_NAMES = ('b1', 'b2', 'b3', 'b4', 'h1', 'h2', 'h3')#
Valid dimension keys for abutment section profiles.
- class rswall.AbutmentWallProfile.AbutmentWallProfile#
Bases:
_ProxyObjectAbutment wall section profile in the project property library.
Dimensions use names from
ABUTMENT_DIMENSION_NAMES.- getProfileDetails()#
Read the full profile state in one call.
- Returns:
name, colour, unitWeight, elevationAtToe, dimensions
- Return type:
Dict with keys
- getColour()#
Return profile colour as (red, green, blue, alpha) 0-255.
- setColour(red, green, blue, alpha=255)#
Set profile colour using RGBA components (0-255).
- setColor(red, green, blue, alpha=255)#
Alias for
setColour().
- setUnitWeight(unitWeight)#
Set unit weight in project native units (allows 0; rejects negatives).
- setElevationAtToe(elevationAtToe)#
Set elevation at toe in project native length units.
- getDimension(dimensionName)#
Get a single cross-section dimension in project native length units.
- setDimension(dimensionName, value)#
Set a single cross-section dimension in project native length units.
- getDimensions()#
Return all b/h dimension values as a name-to-value dict (project length units).