Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

API - File Save Event

Status
Not open for further replies.

GFranck

Mechanical
May 29, 2002
6
Anyone know how to activate a macro whenever a user performs a File Save? Thanks in advance for the help!
 
Replies continue below

Recommended for you

Use Part.Save2 False in Visual Basic and set a short cut key to something like Alt S.

Hope this helps Bradley
 
Bradley's suggestion is right on. Your only other option would be to create an add-in that loads with SW and monitors the Save event. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
dsi,
Can we create an add-in that loads with SW and monitors the Save event using Visual Basic? Or does it have to be C++? Bradley
 
Typically you would have use C, but I recall seeing an example of how someone did it using VB. I am not sure if functions the same, but I believe I saw it on usenet at comp.cad.solidworks. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor