How to show the text 'value' of a text object in a monitor

Discuss Lemur and share techniques.
Post Reply
Gass n Klang
Newbie
Posts: 42
Joined: 01 Jan 2016 20:45

How to show the text 'value' of a text object in a monitor

Post by Gass n Klang »

Hey guys,
I've got a textbox and a monitor in a different container that I want to show the text of the textbox. Is that possible?
MrCorba
Regular
Posts: 142
Joined: 02 Sep 2013 20:17
Location: Netherlands

Re: How to show the text 'value' of a text object in a monit

Post by MrCorba »

The text of the Text object is an attribute called content. So if you set the monitor value to getattribute(Text,'content'), everytime you change the text value the monitor is automatically updated.

Cheers!
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba
Gass n Klang
Newbie
Posts: 42
Joined: 01 Jan 2016 20:45

Re: How to show the text 'value' of a text object in a monit

Post by Gass n Klang »

perfect thanks. I tried the getattribute (Text, 'text').No surprise it didnt work.But how about the different container? If my "Text" Is in container1 and "Monitor" is in container2?

I've got a "Monitor" in several containers so how can I show lemur which one I want it to show
MrCorba
Regular
Posts: 142
Joined: 02 Sep 2013 20:17
Location: Netherlands

Re: How to show the text 'value' of a text object in a monit

Post by MrCorba »

You can put any number of containers and interfaces in the prefix. So if you want Text in container one: getattribute(Container1.Text,'content'). If it's on another interface in two containers you can do: getattribute(Interface1.Container1.Container2.Text,'content') etc.
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba
Post Reply