Runs the SolidWorks Design Checker using the specified standards document.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISWDesignCheck
Dim StandardFileName As String
Dim ReportFolderName As String
Dim AddReportToDesignBinder As Boolean
Dim OverWriteReport As Boolean
Dim AutoCorrect As Boolean
Dim lReportFormat As Integer
Dim ResultSummary As String
Dim value As Integer
value = instance.RunDesignCheck5(StandardFileName, ReportFolderName, AddReportToDesignBinder, OverWriteReport, AutoCorrect, lReportFormat, ResultSummary)
|
Parameters
- StandardFileName
- Path and filename of SolidWorks Design Checker standards document
- ReportFolderName
Path and folder name for report
- AddReportToDesignBinder
- True to add the report to the Design Binder, false to not (see Remarks)
- OverWriteReport
- True to overwrite any existing report of the same name in the Design Binder, false to not
- AutoCorrect
- True to autocorrect all failures discovered by Design Checker, false to not (see Remarks)
- lReportFormat
0=XML format, 1=Microsoft Word format (see Remarks)
- ResultSummary
- Failure counts
Return Value
Error code as defined in
dsgnchkError_e
Example
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0