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.

Panels

Document User Text

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

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.

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.

 

 

 

Rhinoceros 6 © 2010-2020 Robert McNeel & Associates. 11-Nov-2020