Document.LoadFamily(String)
Method
Description:
Loads an entire family and all its types/symbols into the document.
Loads an entire family and all its types/symbols into the document.
Remarks:
Loading an entire family may take a considerable amount of time and memory. It is recommended that you use one of the LoadFamilySymbol() methods and only load those symbols that you need.
Parameters
Parameter | Type | Description |
---|---|---|
filename | String | The fully qualified filename of the Family file, usually ending in .rfa. |
Return Value
Type | Description |
---|---|
Boolean | True if the entire family was loaded successfully into the project, otherwise False. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when filename isor empty. |