Document.Export
Description:
Exports the current view or a selection of views in STEP format.
Exports the current view or a selection of views in STEP format.
Remarks:
All the views must be 3D views for the Export to succeed.
All the views must be 3D views for the Export to succeed.
Overloads (14):
Export(String,String,STEPExportOptions)
public bool Export(
string folder,
string name,
STEPExportOptions options
)
-
StringfolderOutput folder, into which file(s) will be exported. The folder must exist.
-
StringnameEither the name of a single file or a prefix for a set of files. If empty, automatic naming will be used.
-
optionsVarious options applicable to the STEP 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.