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

Document.Export(String, String, ViewSet, FBXExportOptions)

Method
Description:
Exports the document in 3D-Studio Max (FBX) format.
Remarks:
Though the 'options' argument is not currently used, an object still must be provided (may be null).
Syntax
public bool Export(
	string folder,
	string name,
	ViewSet views,
	FBXExportOptions options
)
Parameters
Parameter Type Description
folder String Output folder, into which file(s) will be exported. The folder must exist.
name String Either the name of a single file or a prefix for a set of files. If <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST75408850_1"></span></span> or empty, automatic naming will be used.
views ViewSet Selection of views to be exported.Only 3D views are allowed.
options FBXExportOptions Options applicable to the FBX format.
Return Value
Type Description
Boolean Function returns true only if all specified views are exported successfully. The function returns False if exporting of any view fails, even if some views might have been exported successfully.
Exceptions
Exception Condition
ArgumentNullException Thrown when the input views is
ArgumentException Thrown when the input views is an empty ViewSet. Thrown if any view in the views is not a 3D view.