rs2 package

rs2.BaseModel module

class rs2.BaseModel.BaseModel(client, ID)

Bases: ProxyObject

close()

Code Snippet: Model Manipulation

Closes the model
save()

Code Snippet: Model Manipulation

Saves the model
getUnits()

Code Snippet: Get Model Units

Get Solid, Hydro and Thermal units for your model

rs2.Units module

class rs2.Units.Units(solid_units=None, hydro_units=None, thermal_units=None)

Bases: object

Examples

Code Snippet: Get Model Units

Attributes: solid_units (list[tuple[str]]): List of all solid units for your model. hydro_units (list[tuple[str]]): List of all hydraulic units for your model. thermal_units (list[tuple[str]]): List of all thermal units for your model.