AnsweredAssumed Answered

How to save the solidworks file as STEP AP214 with VBA??!!

Question asked by Chen Shaohua on Jan 22, 2013
Latest reply on Feb 18, 2013 by Christian Chu

see the macro:



Dim swApp As Object
Dim Part As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long


Sub main()


Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc

napart = Part.GetTitle
typepart = Left(napart,Len(napart) - 7)

Part.SaveAs2 typepart & ".STEP", 0, True, False

End Sub



It can save the file as STEP AP203 file.

How can save the file as STEP AP214 file?