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

Synopsis

textManip([visible=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

textManip is undoable, queryable, and NOT editable.

Shows/hides the text manip.

Return value

None

In query mode, return type is based on queried flag.

Flags

visible
Long name (short name) Argument types Properties
visible(v) boolean createquery
Shows/hides the text manip.

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 have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# Hide the text manip, then call headsUpMessage to draw a message in the 3d view. You can't see the message now because it's invisible
cmds.textManip(v=False)
cmds.headsUpMessage('Ouch!', time=5.0)

# Show the text manip
cmds.textManip(v=True)