|
addmenu and addtoolbar
just wondering if most people here are using bitwright solid menu and solidtoolbar or sw addmenu and addtoolbar ?
i've started to write sw addin (vb6) and am not sure what's the best way to do?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
"create solidworks addin from macro in vb6"
i get occasional email from someone trying to get bitwright template to work. let me know if you get an answer out of them.
thx, roland
i got your template. it's much simple comparing to another template i have.
couple questions:
1) the addin is only used for part document and the toolbar is not shown if a drawing document is active. it's good. why the toolbar is still visible if an assembly document is active even though the icons are grey out?
2) how to control the postion of the menu if i decide to make a new menu and want it to appear next the help menu?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
the example in the template is for a program that only applies to parts or parts edited in-context in an assembly. that is why there is no toolbar or menu for drawings.
if you use the addin in an assembly, toolbar will be greyed-out. if a part in assembly is made active for editing in-context, toolbar becomes active.
not sure about how to control position of new menus.
thx for a quick response
i didn't think of editing part in assembly. that answers my question.
for menu postion, if i add a new menu
axmenuid = "esox republic"
lret = axsldworks.addmenu(swdocpart, axmenuid, 9)
then the "esox republic" appears after "help". how to control it to appear before or after "tools" menu?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
quick |
|