if you MACRO record.
Result
' ******************************************************************************
' C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\swx2508\\Macro1.swb - macro recorded on 02/07/12 by Administrator
' ******************************************************************************
Dim swApp As Object
Dim Part As Object
Dim SelMgr As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Dim Feature As Object
Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
Part.ClearSelection2 True
Part.SetupSheet4 "图纸4", 12, 12, 1, 2, True, "F:\\BE(J)S\\MatDrtTbt\\me.slddrt", 0.42, 0.297, "默认", True
End Sub
Questiong
Part.SetupSheet4 "图纸4", 12, 12, 1, 2, True, "F:\\BE(J)S\\MatDrtTbt\\me.slddrt", 0.42, 0.297, "默认", True --- It's Error
Part.SetupSheet4 "图纸4", 12, 12, 1, 2, True, "F:\\BE(J)S\\MatDrtTbt\\me.slddrt", 0.42, 0.297, "默认" ' Remove ', True----
Result
The solution is to manual in the front place tick
SolidworksApi macros