Exports a view specified in the export options to the OBJ format.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2023
Syntax
Visual Basic |
---|
Public Function Export ( _
folder As String, _
name As String, _
options As OBJExportOptions _
) As Boolean |
Visual C++ |
---|
public:
bool Export(
String^ folder,
String^ name,
OBJExportOptions^ 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 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.
- options
- Type: Autodesk.Revit.DB..::..OBJExportOptions
Various options applicable to the OBJ format.
Return Value
True if successful, otherwise False.
Exceptions
See Also