Attribute User Text

Hi,

I can’t seem to find this panel…

https://docs.mcneel.com/rhino/6/help/en-us/properties/attributeusertext.htm

Declan

Hi Declan - it is part of Properties in V6/Beta:

image

See it?

-Pascal

Ah, ok. We aren’t able to get the Beta at work… ;(

1 - Does it include the option of a dropdown menu for selecting key values?
2 - Can you create Keys/Values on the fly?

I can’t wait to get my hands on V6!

Hi Declan - if you mean selecting objects by key/value, yes you can do that from a context menu.
image

-Pascal

No, I mean can there be a pre-existing set of values which can be selected for each key. For example:

Key:Material
Drop-Down Value List: Silver, 18KY, 18KW, 18KR

1 Like

Ah, no, not that I know of, yet anyway - let’s ask. @Trav -what do you think?

-Pascal

I think the folks that would use this feature would really appreciate this capability.

2 Likes

Hi @declan

Currently the DocumentText and AttributeText panels expose a UI for the commands SetDocumentText and GetDocumentText.

For your request some additional data creation/storage system would need to be created outside of the scope of those two commands (which could be done). How do you see yourself creating and managing those items?
Are you thinking some Rhino option dialog section for managing key value tables or something different? Is this data document dynamic? Assuming you want volumes, and additional math operations on volumes etc.

-Trav

SetUserText and GetUserText would be what I’m actually after - so attributes could be specified per part, not per document.

Re: value tables, an ideal solution would be to reference an external .xls so we could update values once and they’d become options in the dropdown menus for all users dynamically.

Math functions aren’t that important.

Our primary goal is to have a PLM software have visibility to DocumentText and/or UserText so we can quickly pull up all files with ______ material, etc. We are trying to find the least painful way creating those attribute associations without having to SetUserText from scratch from the Command line. This new V6 functionality seems like a step in that direction.

I think for today, without a custom plug-in solution tailored to your workflow, you could make yourself a quick toolbar that had your material descriptions as icons that when clicked would set your object attribute text to the selected object.
e.g. -_SetUserText Material Silver

1 Like