ElectricalDemandFactorDefinition.Create
Method
Description:
Creates a new instance of a demand factor definition.
Creates a new instance of a demand factor definition.
Parameters
| Parameter | Type | Description |
|---|---|---|
| ADoc | Document | The document where the element will be created and added. |
| strName | String | The name of the electrical demand factor definition to be created. |
Return Value
| Type | Description |
|---|---|
| ElectricalDemandFactorDefinition | The newly created demand factor definition element. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |