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!

topology modification with parameters (solidowrks + visual basic)

Status
Not open for further replies.

sisau

Mechanical
Mar 5, 2010
19
Hello,

I am trying to modify a solidworks assembly through Visual Basic.

The process I follow consists on recording a macro in SW and then write it in Visual Basic, because I want to execute it pressing a command button in microsoft excel, but it appears some kind of error.

I am a beginner using Visual Basic, so i don't know why it happens. Do any of you know any other way to do it or any place where I can look for information?

Thank you
 
Replies continue below

Recommended for you

Can you put on more about your need. Some examples will be good to use.

Deepak Gupta
SW2009 SP4.1
SW2007 SP5.0
MathCAD 14.0
 
You can not trust the macro recorder. You need to know at least enough VB and API to see what is missing.

[bat]Honesty may be the best policy, but insanity is a better defense.[bat]
-SolidWorks API VB programming help
 
sisau ... What exactly are you trying to do with, or to, the assy. A macro which fulfills your need may already exist.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor