Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

SW VBA CustomInfo 1

Status
Not open for further replies.

33456

Mechanical
Joined
May 23, 2007
Messages
10
Location
NL
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
 
Dim what as String
what = part.CustomInfo2({configuration name}, "M_opm_part")

[bat]Honesty may be the best policy, but insanity is a better defense.[bat]
-SolidWorks API VB programming help
 
pfff

how simpel

well, its monday


thnx dude
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top