Layer dropdown control - any way to customize?

Layer dropdown control - any way to customize?

JamesMaeding
Advisor Advisor
362 Views
6 Replies
Message 1 of 7

Layer dropdown control - any way to customize?

JamesMaeding
Advisor
Advisor

Someone asked me if they could get non-plot property to show in the layer dropdown which is used in toolbars, ribbon, quick access toolbar...its the same control everywhere.

I said no, its not customizable.

Has anyone seen a replacement control for autodesk's?

I could make a little modeless one (floating dialog), but sure would be nice if there is api access to that adesk layer dropdown.

I'll post as an idea so I can get rejected lol. Seriously, it must not be the easiest thing to tweak for adesk as they must have dealt with this before.


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
363 Views
6 Replies
Replies (6)
Message 2 of 7

pendean
Community Legend
Community Legend
That's what Layer filters do all day long if used/implemented, give that a try.
Or do you mean something else (perhaps a screenshot to confirm we are all talking about the same element might help too).

TIA
0 Likes
Message 3 of 7

JamesMaeding
Advisor
Advisor

@pendean 

Filters do not change the dropdown. I cannot get the plot icon to show using them.

I know you mean the list of layers, I mean the columns shown in the dropdown.

I'd like to control the columns, and also the width in the toolbar/ribbon/quick acess, its tiny as is.

I do use quikpick to widen once droppped down...

thx


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Message 4 of 7

Ed__Jobe
Mentor
Mentor

Hi @JamesMaeding This is the best resource I was able to find on how to add/create a custom ribbon control.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 5 of 7

JamesMaeding
Advisor
Advisor

@Ed__Jobe 

Interesting. I guess my custom image would be the layer name and property icons, but that would need to be variable. I'll check some more, I bet adesk would have fun answering this too.

 


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Message 6 of 7

Sea-Haven
Mentor
Mentor

You probably need to make a custom DCL, to suit, it could have a Plot / Noplot button then a list box so picking layers will swap, on to off and off to on. Each time a layer is picked it would update the list box.

 

Dont hold your breath "I bet adesk would have fun answering this too"

0 Likes
Message 7 of 7

JamesMaeding
Advisor
Advisor

@Sea-Haven 

What is DCL? lol

I assume you mean the old lisp dcl dialogs.

I switched to opendcl long ago, then .net once that got going.

These embedded menu controls are likley AI technonolgy.

No one really knows how they work 🙂


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes