Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Saving in STEP format using macro

Status
Not open for further replies.

farzadtb

Mechanical
Dec 1, 2009
38
0
0
IT
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 ?
 
Status
Not open for further replies.
Back
Top