Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Saving in STEP format using macro

Status
Not open for further replies.

farzadtb

Mechanical
Dec 1, 2009
38
Hi all

I want to run a Macro , that when I have a .sldprt open , it saves the file in STEP format in a particular folder, using its own name. at the moment I have this file , but it can be used only for one file name

Sub main()

Set swApp = _
Application.SldWorks

Set Part = swApp.ActiveDoc
longstatus = Part.SaveAs3("E:......\STEP\13F01020.STEP", 0, 0)
End Sub
 
Replies continue below

Recommended for you

Let's ask a better question

since I found the one that does this , but a Macro that could open the file from it's source , and save it in another folder automatically for all the files of that folder

is this possible ?
 
There are too many files ! the main reason of using macro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor