几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 11:45 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】hide sketches in drawing views

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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】drawing post-automation addin yang686526 SolidWorks二次开发 0 2009-04-13 10:33 AM
【转帖】draftsman - the automatic drawing creator yang686526 SolidWorks二次开发 0 2009-04-13 10:31 AM
【转帖】change a drawing views display state yang686526 SolidWorks二次开发 0 2009-04-13 09:36 AM
【转帖】can you modelize a drawing view yang686526 SolidWorks二次开发 0 2009-04-13 09:31 AM
【转帖】see what partassembly a drawing points to yang686526 SolidWorks二次开发 0 2009-04-12 10:19 PM


所有的时间均为北京时间。 现在的时间是 02:35 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多