Closes all open documents in the SOLIDWORKS session.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CloseAllDocuments( _
ByVal IncludeUnsaved As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim IncludeUnsaved As System.Boolean
Dim value As System.Boolean
value = instance.CloseAllDocuments(IncludeUnsaved) |
CSolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.ISldWorks~CloseAllDocuments.html# | |
---|
System.bool CloseAllDocuments(
System.bool IncludeUnsaved
) |
Parameters
- IncludeUnsaved
- True = Close all documents, including dirty documents
- False = Close all documents, excluding dirty documents
Return Value
True if method executes successfully, false if not
Example
See Also
Availability
SOLIDWORKS 2006 SP2, Revision Number 14.2