Skip to main content

Rocky PrePost scripting 2025 R1

RAThreeRollsBeltProfile

Last update: 17.07.2025

class RAThreeRollsBeltProfile

Rocky API for a Three Rolls Belt Profile model.

Methods:

Name Description
DisableUse0371RatioForRollLengths() Set the value of "Use 0371 Ratio For Roll Lengths" to False.
EnableUse0371RatioForRollLengths() Set the value of "Use 0371 Ratio For Roll Lengths" to True.
GetAvailableMaterials() Get all available Materials.
GetCenterRollLength([unit]) Get the value of "Center Roll Length".
GetLowerCornerRadius([unit]) Get the value of "Lower Corner Radius".
GetMaterial() Get the "Material".
GetTroughingAngle([unit]) Get the value of "Troughing Angle".
GetUse0371RatioForRollLengths() Get the value of "Use 0371 Ratio For Roll Lengths".
IsUse0371RatioForRollLengthsEnabled() Check if the "Use 0371 Ratio For Roll Lengths" is enabled.
SetCenterRollLength(value[, unit]) Set the value of "Center Roll Length".
SetLowerCornerRadius(value[, unit]) Set the value of "Lower Corner Radius".
SetMaterial(value) Set the "Material".
SetTroughingAngle(value[, unit]) Set the value of "Troughing Angle".
SetUse0371RatioForRollLengths(value) Set the value of "Use 0371 Ratio For Roll Lengths".

DisableUse0371RatioForRollLengths()

Set the value of “Use 0371 Ratio For Roll Lengths” to False.

EnableUse0371RatioForRollLengths()

Set the value of “Use 0371 Ratio For Roll Lengths” to True.

GetAvailableMaterials()

Get all available Materials.

GetCenterRollLength(unit: Optional[str] = None)

Get the value of “Center Roll Length”.

  • Parameters: unit – The unit for the returned value. If no unit is provided, the returned value will be in “m”.

GetLowerCornerRadius(unit: Optional[str] = None)

Get the value of “Lower Corner Radius”.

  • Parameters: unit – The unit for the returned value. If no unit is provided, the returned value will be in “m”.

GetMaterial()

Get the “Material”.

GetTroughingAngle(unit: Optional[str] = None)

Get the value of “Troughing Angle”.

  • Parameters: unit – The unit for the returned value. If no unit is provided, the returned value will be in “dega”.

GetUse0371RatioForRollLengths()

Get the value of “Use 0371 Ratio For Roll Lengths”.

IsUse0371RatioForRollLengthsEnabled()

Check if the “Use 0371 Ratio For Roll Lengths” is enabled.

SetCenterRollLength(value: Union[str, float], unit: Optional[str] = None)

Set the value of “Center Roll Length”.

  • 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”.

SetLowerCornerRadius(value: Union[str, float], unit: Optional[str] = None)

Set the value of “Lower Corner Radius”.

  • 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”.

SetMaterial(value)

Set the “Material”.

:param unicode, RASolidMaterial value: : Either the API object wrapping the desired entity or its name.

SetTroughingAngle(value: Union[str, float], unit: Optional[str] = None)

Set the value of “Troughing Angle”.

  • 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 “dega”.

SetUse0371RatioForRollLengths(value: bool)

Set the value of “Use 0371 Ratio For Roll Lengths”.

  • Parameters: value – The value to set.

Connect with Ansys