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 Panel Gear Menu

Not on toolbars.

Window

Floating Panels >
Show Document User Text Panel

Document User Text

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

Document User Text Panel

Search

Type in the search box to only display the User Text that contains the typed text in its key or value.

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

Add / Delete

Adds a new user text to the model or deletes the selected user text.

Gear menu / Right-click context menu

Copy key and value

Copies the selected key and value to the Clipboard.

Paste key and value

Pastes the key and value from the Clipboard.

Text Fields

Retrieves information from the current document or object.

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.

 

 

 

Rhino 6 for Mac © 2010-2020 Robert McNeel & Associates. 11-Nov-2020