Gets the path to the SOLIDWORKS executable,
sldworks.exe.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetExecutablePath() As System.String |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim value As System.String
value = instance.GetExecutablePath() |
C# | |
---|
System.string GetExecutablePath() |
C++/CLI | |
---|
System.String^ GetExecutablePath(); |
Return Value
Path for
sldworks.exe
Example
'---------------------------------------------
Option Explicit
Sub main()
Dim swApp As SldWorks.SldWorks
Set swApp = Application.SldWorks
' Gives directory name without trailing backslash
Debug.Print "SldWorks executable = " & swApp.GetExecutablePath
End Sub
'---------------------------------------------
See Also
Availability
SOLIDWORKS 2003 SP3, Revision Number 11.3