progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#1003 by seasdes
Mon Apr 05, 2010 7:37 pm
I am trying to add a tool for DLINE. Either as part of the draw toolbar or as part of the Context Menu.
Is this possible? If so where do I find the necessary instruction?
Thanks
Seasdes
#1014 by caddit
Wed Apr 07, 2010 9:43 pm
Hi seasdes,


You realize that DLINE is already available from the main progeCAD menu at DRAW -> DLINE right?

To add a new DLINE icon to toolbars you will need an icon BMP file for it (not in progeCAD) and follow the outline for custom commands or the tutorial for creating custom icons/toolbars from the eBook "Tailoring progeCAD" P 58:

http://www.progecam.com/cad/progeCAD/Tailoring-progeCAD-2009.pdf

Here is a small clip from the PROGECAM custom menu:
Code: Select all***MENUGROUP=CADDIT

***TOOLBARS
**progeCAM
ID_ progeCAM [_Toolbar("progeCAM ", _Left, _Show, 200, 200, 1)]
ID_pcamMill_0 [_Button("pCAM Mill", "pmill-small.bmp", "pmill-large.bmp")]^C^C_pcamMILL;


You will actually need TWO .BMP icons - 16 x 16 and 24 x 24 as I recall. Let me know if you feel up to it.

#1016 by seasdes
Wed Apr 07, 2010 9:53 pm
Hello Caddit.
Thanks for your help. I will tackle it when I have some spare time.
Seasdes