Notifications
Clear all

[Closed] Parameter wiring for text object text?

I’ve noticed that the track view properties and accessible sub-animations for the text object include:

render_thickness, render_sides, render_angle, render_width, render_length, render_angle2, render_threshold, size, kerning, leading.

Now obviously text objects have a .text property. Is there any way to control this using wire parameters, or do I need to use some kind of workaround?

3 Replies

Maxscript Help > MAXScript FAQ > Accessing Object Properties > How do I change the text in a Text Shape dynamically?

-Eric

I’d use a custom attribute with a scripted controller to access the text property…
open the track view, right click on the text object, click add/edit parameters,
add a new parameter, the type is not important, you’re not going to use it, then assign a scripted controller to that parameter, and write your code on that.

-edit-

I’ve just check the FAQ, as pixelmonkey said, and in that example they assign the scripted controller to the kerning track, and the expression returns always a 0. If you ever want to change or animate the kerning you should assign the controller to another track, or a custom attribute.

Works like a charm, thanks