SW VBA CustomInfo
SW VBA CustomInfo
(OP)
How can i get info from the Configuration Specific tab ??
This is how to do it for the Custom tab:
Dim swApp As Object
Dim part As Object
Dim what As String
Sub main()
Set swApp = Application.SldWorks
Set part = swApp.ActiveDoc
what = part.CustomInfo2("", "M_opm_part")
MsgBox what
End Sub
This is how to do it for the Custom tab:
Dim swApp As Object
Dim part As Object
Dim what As String
Sub main()
Set swApp = Application.SldWorks
Set part = swApp.ActiveDoc
what = part.CustomInfo2("", "M_opm_part")
MsgBox what
End Sub






RE: SW VBA CustomInfo
what = part.CustomInfo2({configuration name}, "M_opm_part")
http://www.EsoxRepublic.com-SolidWorks API VB programming help
RE: SW VBA CustomInfo
how simpel
well, its monday
thnx dude