Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

annotate [-point linear linear linear] [-text string] [objects]

annotate is undoable, NOT queryable, and NOT editable.

This command is used to create an annotation to be attached to the specified objects at the specified point.

Return value

string

Flags

point, text
Long name (short name) Argument types Properties
-point(-p) linear linear linear create
Specifies the point about which the annotation text is to be centered.
-text(-tx) string create
Specifies the annotation text.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// The following specifies an annotation with text "my annotation text" on
// object mySphere, with the text being centered at point [5,6,3].
sphere -name mySphere;
annotate -tx "my annotation text" -p 5 6 5 mySphere;