Is it possible to access text characters in a text spline ?
-
Hi all. Can I somehow get access to this or that symbol in order to influence it locally?
For example, reduce the size of the second letter. -
Hi @SmetK,
Depending on what you mean by "influence it locally" the answer can vary a little. However, assuming that you want to do some modifications on the geometry of a single letter of the text spline object, the answer unfortunately would rather be negative: generally not possible.
Access to the c4d.PRIM_TEXT_KERNING parameter and the corresponding datatype is not publicly exposed in Python, so no success here.
What you could probably try, is to work directly on cache. However, depending on your purposes this can be a completely unintended way of using cache. Plus there would be annoying side effects, for example you would need to make your modifications every time the cache is rebuilt.
Cheers,
Ilia -
@i_mazlov got it! thx for answer!