I want to manually sort the list in the Attribute User Text panel. It would be nice if the up and down arrows were added to this panel as in the Layer panel.(like in the screenshot below)
Keep in mind that this wont be persistent as it will change with object selection. Document User Text generally is the most persistent but external scripts or plugins could change the dictionary which affects the order as well.
I would like to explain in more detail why we need this feature. We use Attribute User Texts in our titleblocks. In the screenshot, we can sort the Key values as 1-2-3 or 3-2-1. But we want to sort them as 1-3-2 and we want this order to be applied to all our other (same) titleblocks.
The important point for us is to keep this sorting permanent in the same block instances.
The reason we want this is that when there are many keys, it is difficult to remember which one is in which position.
The workaround we can find right now is that we put numbers at the beginning of the key values.
I think the naming convention is your best bet for ensuring sort ordering. Keep in mind that all of these key/values are just a dictionary that lives on each object. Selecting more than one object simply reads the dictionary k/v pairs from each selection and adds them to the UI list. You can resort that list, but once a new selection is made the process repeats and a new UI list is made. I don’t foresee that panel managing a map of every possible selection combination to ensure some form of previous sort order is maintained. This is where naming convention would ensure better list location.
I can see adding sorting by fx or block from the far right hand column being helpful in this flow. I will write that up. We can likely get that into a v8 service release. This way you could set the UI to display block k/v values first in the list. RH-84770