几何尺寸与公差论坛------致力于产品几何量公差标准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, 09:13 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】balloon note macro

balloon note macro
howdy all,
attached is a first look/beta copy of a balloon note macro for solidworks i've been working on.
it can be used to add a quantity note to an item balloon that will update if the model is changed.
i would appreciate any comments you may have after looking this over.
tobin sparks
i just tried running it and nothing happened. i am using sw2006 (this is probably the problem). any suggestions (besides upgrading... lol)
-dustin
professional engineer
certified solidworks professional
i'm getting a debug error when trying to apply ref in 2007. i'm looking into the issue at my end.
matt lorono
cad engineer/ecn analyst
silicon valley, ca
howdy,
shaggype - i'm sorry i don't know how to change it so it would also work in 2006. i don't have 2006 in order for me to look at it myself. only one suggestion is to open the macro with the editor and at the top of the code put an apostrophe in front of the words 'option explicit so they won't be recognized when the program runs. other than that i really don't know how to help you.
fcsuper - can't imagine what is happening with yours either. you might try the same suggestion as above.
thank you both for your response
tobin sparks
dustin,
you will need to edit the macro and change the references to the 2006 libraries. i did get the macro to work on 2006 after doing that.
tobin,
i didn't dig into every function, but it looks very nice and works fine for me. i didn't have the problem that matt noted.
joe
sw office 2006 sp5.1
p4 3.0ghz 1gb
ati firegl x1
works in sw2008 sp1.1. is there a way of showing - (qx)? other than that i like it.
sylvia
howdy,
jmarv - thank you for you very helpful response.
shaggype - do you understand jmarv's comment? you'll have to open the macro with the editor and go to the menu and pick tools -> references and uncheck the 2007 libraries the program can't find and make sure your equivalent 2006 libraries are checked. hope that works.
thanks again jmarv
tobin sparks
howdy,
felix7502 - i'm glad to here it's working for you in 2008. i wasn't real clear on your question - do you want to use something other than "x" after the quantity? some companies still use "plcs".
thanks for your response
tobin sparks
tobin-
i would like to have the quantity show as (2x) with the parentheses around the quantity and the small "x".
this will be so much more convenient & accurate than using a note and grouping. thanks. sylvia
howdy,
felix7502 - thanks for your interest in this macro. i was wondering about the configuration you are requesting when i started developing this. i'll have to think about it and get back to you. i'm thinking it would be very easy to make a few changes to accommodate you. i want to do some experiments. it will be a little bit of work to have the ability to do both configurations.
thanks again
tobin sparks
quite slick tobin1. i got it to work on 2006. another star for you.
-dustin
professional engineer
certified solidworks professional
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】macro for inserting and mating a new part in an assembly yang686526 SolidWorks二次开发 0 2009-04-12 09:38 PM
【转帖】how do i slow a macro down yang686526 SolidWorks二次开发 0 2009-04-12 09:10 PM
【转帖】how can i insert the serial number note yang686526 SolidWorks二次开发 0 2009-04-12 09:08 PM
【转帖】copy an existent sketch into a macro yang686526 SolidWorks二次开发 0 2009-04-12 08:31 PM


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


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