FluidType.Create(Document, String, FluidType)
Method
Description:
Creates a new fluid type and adds it to the document.
Creates a new fluid type and adds it to the document.
Remarks:
The new fluid type will be a duplicate of the input type.
The new fluid type will be a duplicate of the input type.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| fluidTypeName | String | The name of new created fluid type. |
| basedOnFluidType | FluidType | The existing fluid type which is based on. |
Return Value
| Type | Description |
|---|---|
| FluidType | The newly created fluid type. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |