I am trying to record the macro for applying appearance action like applying different Texture,but the saved file is showing something like this.
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 Dim myModelView As Object Set myModelView = Part.ActiveView myModelView.FrameState = swWindowState_e.swWindowMaximized Part.ClearSelection2 True Part.ClearSelection2 True Part.ClearSelection2 True End Sub
The macro recorder does not always record everything. So check API help file for the codes you may need for adding texture.