TheSwamp
CAD Forums => CAD General => Topic started by: Ben Clark on December 06, 2017, 11:33:32 AM
-
You know how there is a pulldown for the layers toolbar that lets you select layers right there in model space without having to go to the layer manager?
How does on create that for a custom toolbar? Is it even possible? I've made plenty of toolbars in the CUI menu but I absolutely cannot figure out how to put a custom toolbar list on a toolbar.
Any help would be appreciated.
-
That would be a layer 'combo control', see attached image
-
I think it uses something like the old >POP< command in a menu to get the other command options to display.
You might find it easier to do with a Tool Palette
-
The description of the problem is a little confusing e.g.
You know how there is a pulldown for the layers toolbar that lets you select layers right there in model space without having to go to the layer manager?
You don't select "right there in model space" if it's a toolbar. Are you referring to the Ribbon? Or a right-click context-based menu at the cursor?
-
What's a toolbar?
-
What's a toolbar?
-
Those are cool but they take up a lot of space.
-
What's a toolbar?
Those are cool but they take up a lot of space.
That's when 3 monitors are handy to have :)
-
The description of the problem is a little confusing e.g.
You know how there is a pulldown for the layers toolbar that lets you select layers right there in model space without having to go to the layer manager?
You don't select "right there in model space" if it's a toolbar. Are you referring to the Ribbon? Or a right-click context-based menu at the cursor?
No, doorman, I'm referring to exactly what I said I was referring to, a toolbar. A toolbar is not the ribbon or a right click menu.
Please see the attached photo of a layer toolbar with a pull down menu.
-
After doing a lot more digging, the Autodesk CUI manager calls these pull down lists "controls."
I can now identify what I'm talking about, but it appears it may not be able to create a new one. See below.
-
After doing a lot more digging, the Autodesk CUI manager calls these pull down lists "controls.
My reply didn't help?
https://www.theswamp.org/index.php?topic=53703.msg583898#msg583898
-
Dommy, your reply was helpful for sure, but I specifically need a custom pulldown menu for a toolbar and not the ribbon. The combo control thing you showed was only for the ribbon.
The reason I need them for toolbars is because most everyone at my company uses toolbars instead of the ribbon. I want to connect a drop down menu with a lisp list.
I've about given up on that being possible though.
-
You have answered your own question click on a tool bar and a list pops up, its controlled by just running a Lisp etc. I have a toolbar for CIV3D surfaces and just click and depending on circumstances a list pops up.
If you explain more can help or look at say www.lee-mac.com for a list select lisp program.
-
BIGAL: sorry man but my question is not answered.
To clarify, I am wanting to make a custom toolbar with a drop down list just like the one for the layers and the dimensions toolbar, but linked to a lisp program that I am writing. I don't need a link to Lee Mac's website (I'm very familiar with his work :-D).
-
It's Monday, coffee hasn't kicked in yet... it sounds like you don't want a custom toolbar; it sounds like you want a custom drop-down instead, one that is dynamically populated by code.
Yeah, not without more work than you'd get benefit from it. Start dragging your users into using Ribbons, they'll eventually thank you for it.
-
dgorsman, I think you're right it does seem like the work to benefit ratio is low with this one. To clarify though, I do want a custom drop-down list, but one that is integrated into a toolbar, just like the layers and dims one that comes "stock" with AutoCAD. (You may not be familiar with these because you've advance past toolbars...)
Also, sorry for the smug reply earlier. My coffee hadn't kicked in yet either.
-
Please see the attached images
-
Here is the ACAD layer control pulldown, copied from the ACAD Layers toolbar, pasted into my custom menu toolbar. (utilize the 'CUI' command)
-
except...he doesn't want or need another layer drop down....he wants one that will have lisp commands attached/assigned to it
-
Thank you so much mjfarrell. That is exactly what I've been trying to communicate here.
Exactly like a DCL pulldown list, but integrated into a toolbar.
-
Thank you so much mjfarrell. That is exactly what I've been trying to communicate here.
Exactly like a DCL pulldown list, but integrated into a toolbar.
oh....back to the drawing board...I guess I didn't read close enough.
-
Does it have to be toolbars? They are slowly but surely being made obsolete.
-
Using a toolbar for this application would be ideal. I've got longtime users of toolbars.
-
Does it have to be toolbars? They are slowly but surely being made obsolete.
not exactly....a RIBBON is just another form of a toolbar...just another name, not an entirely different animal