<node3d:GUI:textbox>.length

This action will set the length of the textbox

 

<node3d:GUI:textbox>.length(
    value    

)

 

value

The length of the textbox. This value is a scale factor, so setting the length to 2.0 will make the textbox twice as long.


Remarks

This command will set the length of the textbox. The length determines how much text can fit into the box. This is different than setting the scale of the textbox, which only makes the overall size larger.

Return Value

None

Example

tb = viz.addTextbox()
#Make the length twice as long
tb.length(2)