SetDocumentUserText

Toolbar Menu

Not on toolbars.

Not on menus.

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.

To add a User Text key to a file

  1. Type the key.
  2. Type the value.

To add a hidden User Text key to a file

  1. Type the key with a "." (period) prefix.
  2. Type the value.

Note: Hidden keys will not appear in Document Properties > Document User Text and the Document User Text panel.

To remove a User Text key from a file

  1. Type an existing key.
  2. Type "" (two double quotes) as the value.

See: Naming conventions in Rhino

GetDocumentUserText

Toolbar Menu

Not on toolbars.

Not on menus.

The GetDocumentUserText command retrieves text information attached using the SetDocumentUserText command. This information can also be retrieved by .NET plug-ins and VisualBasic scripts.

DocumentText

Toolbar Menu

Not on toolbars.

Not on menus.

The DocumentText command opens the Document User Text panel that lets you manage the document user text.

Document User Text Panel

Toolbar

New item

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.

Text Fields

Retrieves information from the current document or an object.

Delete

Removes the selected User Text key from the 3dm file.

Use the SetDocumentUserText command to remove a hidden key.

Import

Reads User Text keys from a .3dm, .csv or .txt file into the current 3dm file.

Export

Saves User Text keys in the current 3dm file to a .csv or .txt file.

Filter list

Hides the User Text keys that don't include the entered characters in the key and value fields.

Key

The name of the UserText key.

Value

The value of the UserText key.

Example  
Key Value
Part name X-Joint
Part number XJT-20-584
Supplier Krypton Metals, Inc.
Material Titanium
Weight in kilograms 20

See: Naming conventions in Rhino

Sort the list alphabetically

Right-click context menu

Copy key and value

Copies the selected key and value to Windows Clipboard.

Paste key and value

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.

 

 

 

Rhino 6 for Mac © 2010-2019 Robert McNeel & Associates. 16-Jan-2019