A virtual Video and writtenTutorial Offering you a Comprehensive aid to machine tool and automotive design using-
Catia V5 , GD & T, Solidworks and Ansys Software.
To Know Title/File name saved in SolidWorks by Macro (API)
Macro Program
For print / msg of part name by which we saved the part file.
Sub main ( ) Dim swapp As SldWorks.SldWorks Set swapp = Application.SldWorks Dim swmodel As ModelDoc2 Set swmodel = swapp.ActiveDoc filename = swmodel.GetTitle Msgbox filename End Sub
No comments:
Post a Comment