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 TugboatEng 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
Joined
Dec 1, 2009
Messages
38
Location
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
 
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

Back
Top