Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Is it possible to access text characters in a text spline ?

    Cinema 4D SDK
    2023 python project tool
    2
    3
    574
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SmetK
      last edited by

      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.

      1b1b01a3-304f-4ce6-9a77-36e5bdb864d7-image.png

      1 Reply Last reply Reply Quote 0
      • i_mazlovI
        i_mazlov
        last edited by

        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

        MAXON SDK Specialist
        developers.maxon.net

        S 1 Reply Last reply Reply Quote 1
        • S
          SmetK @i_mazlov
          last edited by

          @i_mazlov got it! thx for answer!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post