Application.ExtractPartAtomFromFamilyFile
Method
Description:
Writes a PartAtom XML from the contents of a family file.
Writes a PartAtom XML from the contents of a family file.
Remarks:
If there is a TXT type catalog next to the family file (a TXT file with the same name as the RFA file), the function will read it as well and process its contents into PartAtom. To extract a PartAtom XML from a family loaded into a document in session, use Family.ExtractPartAtom().
If there is a TXT type catalog next to the family file (a TXT file with the same name as the RFA file), the function will read it as well and process its contents into PartAtom. To extract a PartAtom XML from a family loaded into a document in session, use Family.ExtractPartAtom().
Parameters
Parameter | Type | Description |
---|---|---|
familyFilePath | String | The family file to be processed. |
xmlFilePath | String | The xml file to be saved. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | If 'familyFilePath' or 'xmlFilePath' isor an empty string or if the family file doesn't exist on disk. |