RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Family

Family.ExtractPartAtom

Method
Description:
Writes a PartAtom XML from the contents of a family object.
Remarks:
This method is designed for a family loaded into a document in session. So it will skip the type catalog file. To extract the PartAtom XML from a family file on disk, use Application.ExtractPartAtomFromFamilyFile()
Syntax
public void ExtractPartAtom(
	string xmlFilePath
)
Parameters
Parameter Type Description
xmlFilePath String The xml file to be saved.
Return Value
Exceptions
Exception Condition
ArgumentException If 'xmlFilePath' isor an empty string.