that is just using an expression to set the text of an annotation node - no python/python API needed
select an object and choose create>annotation... your expression should get the value you want to display and then write out the text attribute of the annotation node(don't forget to use the -type "string" on the setAttr call) On Mon, Aug 1, 2011 at 5:41 AM, andrearastelli <[email protected] > wrote: > Hi everyone, > I need some help with python api. > > how this guy can write text into the viewport? > Where i can find some help (or a bounch of code?) > > http://vimeo.com/24052855 > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
