General
Change 'font' property on text object?
Started by hakonandersson on .
Sign in or create an account to join the conversation.
Hi guys!
Really simple question here - is it possible to change the font property (font size) via script (setattribute or other?), or is it a static property only being defined on the object's properties tab?
I've tried the usual 'objectname.font = x', but no luck.
Thanks all,
Hakon.
Really simple question here - is it possible to change the font property (font size) via script (setattribute or other?), or is it a static property only being defined on the object's properties tab?
I've tried the usual 'objectname.font = x', but no luck.
Thanks all,
Hakon.
The properties of each object are referenced at the final pages of lemur manual as "attributes" and you can change them by using
setattribute(object, attribute, value)
That said though, font size is not one of them for any of the objects!
if its important to you, you can I guess show and hide alternate text objects with pre-defined font sizes of your choices using show(object, state)
setattribute(object, attribute, value)
That said though, font size is not one of them for any of the objects!
if its important to you, you can I guess show and hide alternate text objects with pre-defined font sizes of your choices using show(object, state)
Softcore,
Great suggestion, many thanks for that - implemented, works well. Cheers.
Great suggestion, many thanks for that - implemented, works well. Cheers.