The SetDocumentUserText command attaches text information to a Rhino .3dm file. The information is stored in a key/value format. Retrieve the information with the GetDocumentUserText command.
This information can also be attached by .NET plug-ins and VisualBasic scripts. This information can be easily accessed in .NET and Visual Basic scripts.
Note: Hidden keys will not appear in Document Properties > Document User Text and the Document User Text panel.
See: Naming conventions in Rhino
The GetDocumentUserText command retrieves text information attached using the SetDocumentUserText command. This information can also be retrieved by .NET plug-ins and VisualBasic scripts.
The DocumentText command opens the Document User Text panel that lets you manage the document user text.
Adds a User Text key to the 3dm file. Prefix a key with a "." (period) to add a hidden key.
Hidden keys will not appear in Document Properties > Document User Text and the Document User Text panel.
Retrieves information from the current document or an object.
Removes the selected User Text key from the 3dm file.
Use the SetDocumentUserText command to remove a hidden key.
Reads User Text keys from a .3dm, .csv or .txt file into the current 3dm file.
Saves User Text keys in the current 3dm file to a .csv or .txt file.
Hides the User Text keys that don't include the entered characters in the key and value fields.
The name of the UserText key.
The value of the UserText key.
|Supplier||Krypton Metals, Inc.|
|Weight in kilograms||20|
Copies the selected key and value to Windows Clipboard.
Pastes the key and value from Windows Clipboard.
User Text can be copied and pasted between object and document properties. Attribute User Text is pasted to Document User Text in the format of <Key>:<Object Name>|<Value>. If the object does not have a name, <Object Name> is replaced by the object's GUID.
Rhinoceros 6 © 2010-2019 Robert McNeel & Associates. 18-Mar-2019