FabricationServiceSettings.SetFluidTypeAndTemperature
Method
Description:
Sets the fluid type and temperature of the specified service.
Sets the fluid type and temperature of the specified service.
Syntax
public void SetFluidTypeAndTemperature(
FabricationService service,
ElementId fluidId,
double temperature
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| service | FabricationService | The fabrication service to be set. |
| fluidId | ElementId | The fluid type id. |
| temperature | Double | The temperature in Kelvin. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | fluidId is not a fluid type. -or- The temperature is not defined for the fluidId fluid type. |
| ArgumentNullException | A non-optional argument was null |