ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
AVAmbbrish Vs23/10/2020

Hello friends,

            I had developed a macro for scaling the drawing view with the help of SW Help...

'''''''selecting Isometric View

boolstatus = swModel.Extension.SelectByID2("Drawing View3", "DRAWINGVIEW", 0, 0, 0, False, 0, Nothing, 0)
Set swView = swModel.SelectionManager.GetSelectedObject6(1, -1)
swView.ScaleDecimal = 1 / 8
boolstatus = swModel.EditRebuild3

It works well as per a fixed Scale ratio of "1/8". But I was trying to provide multiple scaling ratios depend upon the size of the drawing view. But there is no possibility of giving a group of different ratios as per the length...

Could any help me with this?