Writes a PartAtom XML from the contents of a family file.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public void ExtractPartAtomFromFamilyFile( string familyFilePath, string xmlFilePath )
Parameters
- familyFilePath String
- The family file to be processed.
- xmlFilePath String
- The xml file to be saved.
Exceptions
Exception | Condition |
---|---|
ArgumentException | If 'familyFilePath' or 'xmlFilePath' is null or an empty string or if the family file doesn't exist on disk. |