class RASizeDistribution
Rocky PrePost Scripting wrapper for a single entry in a single Particle’s size distribution list. Access this wrapper from a givenRAParticle with:
GetCumulativePercentage()
Get the value of “Cumulative Percentage”.GetScaleFactor(unit: str | None = None)
Get the value of “Scale Factor”.- Parameters: unit – The unit for the returned value. If no unit is provided, the returned value will be in “-“.
GetSize(unit: str | None = None)
Get the value of “Size”.- Parameters: unit – The unit for the returned value. If no unit is provided, the returned value will be in “m”.
SetCumulativePercentage(value: str | float)
Set the value of “Cumulative Percentage”.- Parameters: value – The value to set. This value can be an expression with input variables or float type.
SetScaleFactor(value: str | float, unit: str | None = None)
Set the value of “Scale Factor”.- Parameters:
- value – The value to set. This value can be an expression with input variables or float type.
- unit – The unit for value. If no unit is provided, value is assumed to be in “-“.
SetSize(value: str | float, unit: str | None = None)
Set the value of “Size”.- Parameters:
- value – The value to set. This value can be an expression with input variables or float type.
- unit – The unit for value. If no unit is provided, value is assumed to be in “m”.