Document.Export
Description:
Exports a gbXML file from a mass model document.
Exports a gbXML file from a mass model document.
Remarks:
This is only available for projects containing one or more instances of Conceptual Mass families.
This is only available for projects containing one or more instances of Conceptual Mass families.
Overloads (14):
Export(String,String,MassGBXMLExportOptions)
[ObsoleteAttribute("This method is deprecated in Revit 2023 and may be removed in a later version of Revit. We suggest you use the 'Document.Export(String, String, GBXMLExportOptions)' method instead.")]
public void Export(
string folder,
string name,
MassGBXMLExportOptions options
)
-
StringfolderIndicates the path of a folder where to export the gbXML file.
-
StringnameIndicates the name of the gbXML file to export. If it doesn't end with ".xml", extension ".xml" will be added automatically. The name cannot contain any of the following characters: \/:*?"<>|. Empty name is not acceptable.
-
optionsOptions which control the contents of the export.
-
The path is not valid for exporting gbXML files. -or- The name is empty or not valid for exporting gbXML files. -or- options object is invalid: There should be at least one Id in MassZoneIds, the MassIds should be for masses without mass floors.
-
A non-optional argument was null
-
Exporting is not allowed in the current application mode. -or- The weather station name is not valid for exporting gbXML files. -or- Cannot export gbXML files, because the energy model setting is off. -or- Failed to export gbxml files due to internal errors.