|
remove tolerances from drawing
is it possible to remove all tolerances from a drawing by using a macro?
feroz mahomed
windows xp professional sp2
sworks 2009 sp2
nvidia quadro fx1500
yes editdimensionproperties2 will do that. select all the dimensions and run these codes.
******
sub main()
set swapp = application.sldworks
set swmodel = swapp.activedoc
swmodel.editdimensionproperties2 0, 0, 0, "", "", 1, 9, 2, 1, 11, 11, "", "", 1, "", "", 0
swmodel.clearselection2 true
swmodel.viewzoomtofit2
end sub
deepak gupta
sw2007 sp5.0
sw2009 sp2.1
answer deepak,
thanks. that works fine.
feroz mahomed
windows xp professional sp2
sworks 2009 sp2
nvidia quadro fx1500
quick |
|