Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
May 23, 2007
10
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
 
Replies continue below

Recommended for you

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