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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solidworks & VB

Status
Not open for further replies.

JH0401

Programmer
Apr 5, 2002
15
0
0
US
I have two questions:

1) How can I edit custom properties in SW2004 through a VB APP?

2) How can I open a new part, create a sketch & then extrude a sheet metal flange through VB? Just a small example... say one 5 inch line starting at origin 0,0,0 & ending at 0,0,5 & then a flange extruded to a height of 5 inches w/ a thickness of 0.0625 inches?

Any help would be greatly appreciated.

Thank you in advance.
 
Couple of q's back at ya.

What version of SW?

Are you familiar with the VBA interface already embedded in Solidworks?

Using VBA in SW is a little easier to do what you want to do, considering it already has the references needed to "talk" to Solidworks.

Look into getting an object model for the SW API. It should be available on their website.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top