dogarila
Mechanical
- Oct 28, 2001
- 594
I know this topic has been discussed before. I checked previous threads but I couldn't find a clear answer.
I have about 100 drws where I need to change the sheet format. I wrote a macro that does that but in the end the drw does not get updated automatically. What else should I add at the end to achieve that. My macro ends like this:
ret2 = swPart.SetupSheet4(sSheetName, ret1(0), ret1(1), ret1(2), ret1(3), ret1(4), sNewTemplate, ret1(5), ret1(6), sViewName)
swPart.EditSketch
swPart.EditRebuild3
I have about 100 drws where I need to change the sheet format. I wrote a macro that does that but in the end the drw does not get updated automatically. What else should I add at the end to achieve that. My macro ends like this:
ret2 = swPart.SetupSheet4(sSheetName, ret1(0), ret1(1), ret1(2), ret1(3), ret1(4), sNewTemplate, ret1(5), ret1(6), sViewName)
swPart.EditSketch
swPart.EditRebuild3