Exports data for the specified Hole Wizard standard.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ExportHoleWizardItem( _
ByVal StdToExport As System.String, _
ByVal DestinationFolderPath As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim StdToExport As System.String
Dim DestinationFolderPath As System.String
Dim value As System.Integer
value = instance.ExportHoleWizardItem(StdToExport, DestinationFolderPath) |
Parameters
- StdToExport
- Standard to export (see Remarks)
- DestinationFolderPath
- Path where to export the data (see Remarks)
Return Value
0 if successful, 1 if errors
Example
'VBA Preconditions'
'Open a part.
'Ensure that c:\temp exists.
Dim swApp As SldWorks.SldWorks
Dim SourceHWItem As String
Dim DestinationFoldeName As String
Dim longstatus As Long
Option Explicit
Sub Main()
Set swApp = Application.SldWorks
SourceHWItem = "ansi inch\Counterbore Holes\Hex Bolt"
DestinationFolderName = "C:\temp"
longstatus = swApp.ExportHoleWizardItem(SourceHWItem, DestinationFolderName)
Exit Sub
End Sub
Remarks
See Also
Availability
SOLIDWORKS 2018 FCS, Revision Number 26.0