Document.Export
Description:
Exports a view specified in the export options to the OBJ format.
Exports a view specified in the export options to the OBJ format.
Overloads (14):
Export(String,String,OBJExportOptions)
public bool Export(
string folder,
string name,
OBJExportOptions options
)
-
StringfolderOutput folder into which the file will be exported. The folder must exist.
-
StringnameIndicates the name of the OBJ file to export. If it doesn't end with ".obj", this extension will be added automatically. The name cannot contain any of the following characters: \/:*?"<>|. Empty name is not acceptable.
-
optionsVarious options applicable to the OBJ format.
-
NullOrEmpty -or- Contains invalid characters. -or- The provided options do not specify a printable 3D view.
-
A non-optional argument was null
-
This method may not be called during dynamic update.
-
Export is temporarily disabled. -or- Exporting is not allowed in the current application mode.
-
The folder does not exist.
-
The ShapeExporter functionality is not available in the installed Revit, or the Material Library is missing.