Gets the name of the folder where the macro resides.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetCurrentMacroPathFolder() As String |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim value As String
value = instance.GetCurrentMacroPathFolder()
|
C# | |
---|
string GetCurrentMacroPathFolder() |
C++/CLI | |
---|
String^ GetCurrentMacroPathFolder(); |
Return Value
Name of the folder where macro resides
Example
Pathname = swApp.GetCurrentMacroPathFolder
Filename = Pathname + "\" + "bracket.sldprt"
Example
See Also
Availability
SolidWorks 2006 SP1, Revision Number 14.1