ExportToStl Method (IDocumentExporter) Send Feedback
See Also 
PathName
Path and file name to which to save the current view of the drawing
Success[out]
True if the current view of the drawing is saved, false if not 
Saves the current view of the drawing as a .stl (Standard Tessellation Language) file.

Syntax

Visual Basic 
Sub ExportToStl( _
   ByVal PathName As System.String, _
   ByRef Success As System.Boolean _
) 
C# 
void ExportToStl( 
   System.string PathName,
   out System.bool Success
)
JavaScript 
ExportToStl( 
   PathName : String
) : Boolean
COM native C++ 
HRESULT ExportToStl( 
   BSTR PathName,
   VARIANT_BOOL* Success
) 
C++ 
DSRESULT ExportToStl( 
   const dsString& PathName,
   bool* Success
) 

Parameters

PathName
Path and file name to which to save the current view of the drawing
Success[out] or Return Value
True if the current view of the drawing is saved, false if not 

Example

Remarks

You must manually select a solid before calling this method.

 

See Also

Availability

DraftSight V1R1