STLExportOptions Constructor (ExportResolution)


Constructs a new instance of STLExportOptions with all predefined tessellation settings, depending on export resolution type. Note: in case of Custom resolution type, tessellation settings won't be predefined and will have default values.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2021.1

Syntax

C#
public STLExportOptions(
	ExportResolution resolutionType
)
Visual Basic
Public Sub New ( _
	resolutionType As ExportResolution _
)
Visual C++
public:
STLExportOptions(
	ExportResolution resolutionType
)

Parameters

resolutionType
Type: Autodesk.Revit.DB ExportResolution
The type of export resolution.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →