LightFamily.GetLightFamily
Method
Description:
Creates a light family object from the given family document
Creates a light family object from the given family document
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The family document |
Return Value
| Type | Description |
|---|---|
| LightFamily | The newly created LightFamily object |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The Document is the argument that is being validated The document is not valid because it is not a light family document. |
| ArgumentNullException | A non-optional argument was null |