Document.LoadFamilySymbol
Description:
Loads only the specified family type/symbol from a family file into the document and provides a reference to the loaded family symbol.
Loads only the specified family type/symbol from a family file into the document and provides a reference to the loaded family symbol.
Remarks:
This function supports loading of types/symbols stored in the family, or those available in the family Type Catalog file.
This function supports loading of types/symbols stored in the family, or those available in the family Type Catalog file.
Overloads (3):
LoadFamilySymbol(String,String,FamilySymbol)
public bool LoadFamilySymbol(
string filename,
string name,
out FamilySymbol symbol
)
-
StringfilenameThe fully qualified filename of the Family file, usually ending in .rfa.
-
StringnameThe name of the type/symbol to be loaded, such as "W11x14".
-
symbolA reference to the family symbol that was loaded if successful, otherwise null.
Return Value
Boolean
True if the family type/symbol was loaded successfully into the project, otherwise False.
-
Thrown when filename or name isor empty.