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

    access predefined variable in another context

    Cinema 4D SDK
    2
    2
    501
    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.
    • I
      InterfaceGuy
      last edited by

      Hi,

      I am currently playing around with the Python thickness modifier in the Sketch and Toon material. In that context there are a lot of predefined variables like "StrokeLength", "wPnt" and "sNormalisedP".

      My goal is to use these variables to generate 3D Splines that match the strokes on screen. In order to achieve this I have to find a way to access especially the three variables stated above OUTSIDE of the thickness modifier context i.e. in a normal python script.

      Does anybody have an idea on how to approach this?

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        Hi,

        unless I'm wrong, you already asked the question on this thread
        Sorry for the delay, i was looking for a workaround solution.

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

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