I used this statement to replace a drawing template
bRet = swDraw.SetupSheet4(swSheet.GetName, swDwgPaperBsize, swDwgTemplateCustom, 1, 1, False, sPath, 0.4318, 0.2794, "Default")
It works fine. However, on the current drawing, I might not use the scale 1:1
My question is: how to get the scale from the current drawing and use its value for the above statement
Thx. Chris
SolidworksApi macros