2027 Members
Changes 2
M

STLExportOptions Properties

Name Return Type Description Inherited From
P ExportBinary bool True to export in binary STL format, false to export in ASCII STL format. Default value is true.
P ExportColor bool True to export color information, false otherwise. Default value is false.
P GridAspectRatio double The maximum aspect ratio allowed in the grid placed across the face. The minimum allowed value is 1.0. The maximum allowed value is 10.0. By default this property is ignored.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity. (Inherited from BIMExportOptions ) BIMExportOptions
P MaxEdgeLength double The maximum length allowed for any chord on an edge or between any two adjacent grid lines. This is a percentage value. By exporting, the real value of maximum edge length is calculated as a percent from the length of the diameter of the body bounding box. The minimum allowed value is 0.1%. The maximum allowed value is 10.0%. By default this property is ignored.
P NormalTolerance double The maximum change in the surface normal between adjacent nodes in the mesh. This property is defined in degrees. The minimum allowed value is 1.0 degrees. The maximum allowed value is 45.0 degrees. Default value is 15.0 degrees.
P SurfaceTolerance double The maximum distance between mesh triangles and model geometry. This is a percentage value. By exporting, the real value of surface tolerance is calculated as a percent from the length of the diameter of the body bounding box. The minimum allowed value is 0.001%. The maximum allowed value is 1.0%. Default value is 0.1%.
P TargetUnit ExportUnit The unit type of geometry in the resultant STL file. Default value is ExportUnit::Default.
P ViewId ElementId The element id of the 3D view to export. InvalidElementId by default. (Inherited from BIMExportOptions ) BIMExportOptions