几何尺寸与公差论坛

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

【转帖】balloon note macro

[复制链接]
发表于 2009-4-13 09:13:05 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 09:21 , Processed in 0.035016 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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