Not applicable
12-11-2019
05:11 AM
Hi all,
following problem:
import maya.cmds as cmds # Create a window with a some fields for entering text. # window = cmds.window() cmds.rowColumnLayout( numberOfColumns=2, columnAttach=(1, 'right', 0), columnWidth=[(1, 100), (2, 250)] ) cmds.text( label='Name' ) txt = "mais le premier de ces indigènes qui mit la main sur la rampe de l' escalier rejeté en arrière par je ne sais quelle force invisible s' enfuit poussant des cris affreux et faisant des gambades exorbitantes" name = cmds.textField(tx = txt) cmds.showWindow( window ) output_str = cmds.textField(name, q=True, tx=True)
how do i encode/decode the "output_str"?, because every approach failed inside maya.
thx
Solved! Go to Solution.
Link copied