Skip to main content

Rocky PrePost scripting 2026 R1

RATwoRollsBeltProfile

Last update: 23.02.2026

class RATwoRollsBeltProfile

Rocky API for a Two Rolls Belt Profile model.

Methods:

GetAvailableMaterials() Get all available Materials.
GetLowerCornerRadius([unit]) Get the value of "Lower Corner Radius".
GetMaterial() Get the "Material".
GetTroughingAngle([unit]) Get the value of "Troughing Angle".
SetLowerCornerRadius(value[, unit]) Set the value of "Lower Corner Radius".
SetMaterial(value) Set the "Material".
SetTroughingAngle(value[, unit]) Set the value of "Troughing Angle".

GetAvailableMaterials()

Get all available Materials.

GetLowerCornerRadius(unit: str | None = 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: str | None = 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”.

SetLowerCornerRadius(value: str | float, unit: str | None = 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: str | float, unit: str | None = 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”.

Connect with Ansys