Exports the document to the STL format.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2021.1
Syntax
Visual Basic |
---|
Public Function Export ( _
folder As String, _
name As String, _
options As STLExportOptions _
) As Boolean |
Visual C++ |
---|
public:
bool Export(
String^ folder,
String^ name,
STLExportOptions^ options
) |
Parameters
- folder
- Type: System..::..String
Output folder into which the file will be exported. The folder must exist.
- name
- Type: System..::..String
Indicates the name of the STL file to export. If it doesn't end with ".stl", this extension will be added automatically.
The name cannot contain any of the following characters: \/:*?"<>|. Empty name is not acceptable.
- options
- Type: Autodesk.Revit.DB..::..STLExportOptions
Various options applicable to the STL format.
Return Value
True if successful, otherwise False.
Exceptions
See Also