Solidworks Add-in...
Solidworks Add-in...
(OP)
HI!!
I want to do a solidorks add-in showing a toolbar in VB, with the new interfase SWaddin and the command addtoolbar3.
But I've some problems with the function addtoolbar3 and addtoolbarcommand.I don't know how to get handles of bitmaps(addtoolbar3),and how to put the name of my callbackfunction(addToolbarCommand).
Is Someone who can send a bit of code in order to help a poor guy working during hollidays to pay his studies....
I want to do a solidorks add-in showing a toolbar in VB, with the new interfase SWaddin and the command addtoolbar3.
But I've some problems with the function addtoolbar3 and addtoolbarcommand.I don't know how to get handles of bitmaps(addtoolbar3),and how to put the name of my callbackfunction(addToolbarCommand).
Is Someone who can send a bit of code in order to help a poor guy working during hollidays to pay his studies....






RE: Solidworks Add-in...
RE: Solidworks Add-in...
If you tell me your email address I can send you an example.
Regards,
MHendler
RE: Solidworks Add-in...
This sounds hopeful. I did not know, that Visual Basic could add a button to the tool bar. I know about the macro tool bar. Can you create other buttons on the SolidWorks tool bar?
brad_johnson@dstoutput.com
Bradley
RE: Solidworks Add-in...
I would like to take a look at your example file too...I'm tring to create one here myself, but not having any luck. You can send it to: bolen.16@osu.edu
Thanks,
Ken Bolen
RE: Solidworks Add-in...
I'd appreciate a copy as well:
eearnst@accuray.com
Thanks,
Eric
RE: Solidworks Add-in...
I would also like to take a look at your sample.
Thank you.
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
RE: Solidworks Add-in...
geoffg@wesgar.com
Cheers,
RE: Solidworks Add-in...
Could you resend the code? Somehow I never received it.
brad_johnson@dstoutput.com
Bradley
RE: Solidworks Add-in...
Could anybody send also me the code?
I have problem on my add-in
hToolBar = pSldWorks.AddToolbar3(swCookie, "My ToolBar", 102, 101, 5, swDocTemplateTypeASSEMBLY)
pSldWorks.AddToolbarCommand2 swCookie, hToolBar, 0, "Toolbar_Callback", 0, "titolo ToolBar", "pick me"
thank
Massimiliano
RE: Solidworks Add-in...
lordofthegears@hotmail.com
caeserean
C.U. Mech. Eng. Dept.
http://www.websamba.com/onderunver
RE: Solidworks Add-in...
Thanks
Tom
cheng1222@yahoo.com
RE: Solidworks Add-in...
Thanx,
Wim Vancoillie
RE: Solidworks Add-in...
RE: Solidworks Add-in...
Chris Gervais
Mechanical Designer
American Superconductor
RE: Solidworks Add-in...
there's so much interest around your piece of code that you should post it into FAQs. I would like to take a look at your code, too.
Andrew
Rawhead Rex,
can you be alittle more specific, pls.
A.
RE: Solidworks Add-in...
Here is the link to the SolidWorks API Support website Code Example section. I looked again and specifically, the code example (in VB) is a Visual Basic COM DLL addin project. Again I don't know whether or not this helps anyone out but on the outside chance that it might stimulate some ideas I figured it worth mentioning. It's certainly something that I plan on giving serious consideration to make use of.
http://www.solidworks.com/api/index.cfm?template=CodeExamples
Chris Gervais
Mechanical Designer
American Superconductor