几何尺寸与公差论坛

 找回密码
 注册
查看: 753|回复: 0

【转帖】hide sketches in drawing views

[复制链接]
发表于 2009-4-13 11:45:39 | 显示全部楼层 |阅读模式
hide sketches in drawing views
is there a macro out there that is capable of hiding all sketches in a relative view of a weldment drawing. the reason i ask is i am having problems with sketches from the hole wizard showing up in relative views that i create to single out a part in a weldment. these holes have nothing to do with the part that is trying to be captured in this view.
your help is much appreciated.
ben conners
lovat inc.
sw 2008 sp3.1
you can save the templete with he option sketches invisible.
cheers!
swaps
basically you want to select the sketch using selectbyid2 or whatever method you choose and then call swmodel.blanksketch
thanks all for your help! i will give the suggestions a try. the invisible sketches on the template may be the one i am looking for.
thanks again.
ben conners
hi,
where do you find that option of making the sketches invisible on the templates
lino borroto
what do you mean by "invisible sketches on the templates" ? in your first post it mentions sketchs on model view items not templates...
this is an aside from api thou.
we created a drawing template that we use for 1:1 scales for plate to be cut. the problem i was having was i created a relative view of a body from a weldment and sketches from the hole wizard for cosmetic threads were appearing. in the earlier post swapnil mentioned that you could save the template with the option of making sletches invisible. thats what we were trying to do but can't find this option.
are there any macro you know of that you can select the view and hide all cosmetic threads. i did not want to globally set this in the document property as there are other sheets that we may need to show threads for drilling etc.
sorry for the confusion.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 21:41 , Processed in 0.035957 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表