Exports a gbXML file from a mass model document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
C# |
---|
[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
) |
Visual Basic |
---|
<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 Sub Export ( _
folder As String, _
name As String, _
options As MassGBXMLExportOptions _
) |
Visual C++ |
---|
[ObsoleteAttribute(L"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
) |
Parameters
- folder
- Type: System..::..String
Indicates the path of a folder where to export the gbXML file.
- name
- Type: System..::..String
Indicates 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.
- options
- Type: Autodesk.Revit.DB.Analysis..::..MassGBXMLExportOptions
Options which control the contents of the export.
Remarks
Exceptions
See Also