Today’s April 4th Rhino WIP now includes a new UI for 2 commands that were previously only accessible via the command line or through scripting. GetDocumentUserText and GetUserText.
These new interfaces can be seen in the following ways:
GetDocumentUserText
A document properties page
Rhino Options - Document Properties - Document Text (name subject to change).
A command that produces a floating or dockable tab panel
Command Name: DocumentText
GetUserText
An object properties page
Highlighting an object and visiting Properties - Attribute Text (name subject to change). Will display a panel to edit per object attribute user text.
@Trav, great this finally made it into Rhino. I would suggest to have the buttons (New, Delete, Import, Export, Match) in the properties dialog above or below that table to save some width. Eg. in 3 rows, roughly like this:
Hi @Trav, thank you that is really nice. Would it be much work to ask for an additional feature, eg. when i right click on one or more existing keys, it would show a context menu which allows the user to:
Select Objects with same Key
Select Objects with same Key & Value
Hi @Trav, i was referring to GetUserText for objects in the object properties. Eg. if you have set the key “Price” and value “100” and select one object with that key or value pair, how to select other objects having a “Price” or the same value set ?
@Trav, i wondered today if it would be useful to include user text which is “attached to object” in addition to the currently “attached to attribute” user text and reflect that in the Properties panel, eg. by a dropdown which allows to control what to list (object, attribute or both) ?
Imho there is also some slight inconsistency when _SetUserText is run, it asks where to attach to (object or attribute) while _GetUserText always lists both.
@Trav, if you run _SetUserText command, there are 2 different ways to assign key/values pairs. The first one is attachment to attributes which seems what your dialogs work with. The other is attached to object geometry which i asked about.
btw. i found it strange that when using _GetUserText there seems no way to control what is listed (either attached to attribute or attached to object, or both).