Jump to content

Command keys in toolbars


Recommended Posts

Posted

Is it possible to put only specific command buttons from the toolbars on my interface while excluding others.

Posted

Thank you, this helped very much!

Posted

You can also create toolbars via Notepad with custom icons its pretty easy here is an example the bmp's are the images for the buttons stored in the location set by "config custom icon location" you can add any ACAD commands & icons also just found this a bit easier than finding a command amongst the hundreds and dragging to new cui, allows simple edits and just a new menuload.

 

***MENUGROUP=CONTOURS
***TOOLBARS
**ALANSCONTOURS
ID_ALAN    [_Toolbar("Contours", _LEFT, _Show, 0,0, 1)]
Alloff   [_Button("All Off","Alloff.BMP","alloff.BMP")]^c^c^c(setq surface "_ All Off")(load "vercheck")(load "listselect")(load "changecontours6")
50mm [_Button("50mm cont","50mm.BMP","50mm.BMP")]^c^c^c(setq surface "_ NS 0.05 Contours")(load "vercheck")(load "listselect")(load "changecontours6")
100mm [_Button("100mm cont","100mm.BMP","100mm.BMP")]^c^c^c(setq surface "_ NS 0.1 Contours")(load "vercheck")(load "listselect")(load "changecontours6")
200mm [_Button("200mm cont","200mm.BMP","200mm.BMP")]^c^c^c(setq surface "_ NS 0.2 Contours")(load "vercheck")(load "listselect")(load "changecontours6")
500mm [_Button("0.50m cont","500mm.BMP","500mm.BMP")]^c^c^c(setq surface "_ NS 0.5m Contours")(load "vercheck")(load "listselect")(load "changecontours6")
1m [_Button("1m cont","1m.BMP","1m.BMP")]^c^c^c(setq surface "_ NS 1m Contours" )(load "vercheck")(load "listselect")(load "changecontours6")
Triangles [_Button("Triangles","TRI.BMP","TRI.BMP")]^c^c^c(setq surface "_ NS Triangles" )(load "vercheck")(load "listselect")(load "changecontours6")

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...