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

    Material Tag: Fit to object

    Cinema 4D SDK
    python 2024
    2
    3
    568
    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.
    • .
      .del
      last edited by

      Hi - It looks like the only way to to fit a flat projected material tag to an object via python is with a callCommand(). I couldn't find anything in the SDK but that doesn't mean it's not there. Can anybody please confirm that Fit To Object is not available or kindly point me in the right direction in the SDK?

      thanks,
      .del

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @del there is no built-in command to do this, the only exposed way is via CallCommand. May I ask what the limitation of that?

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • .
          .del
          last edited by

          Hi @m_adam - In this particular instance I'm calling it on objects that have children and I'm getting the prompt to include sub objects. If it were a modeling command or something like that it may include the ability to include or exclude the children programmatically.

          I'm creating 30 objects and each object has six flat projections that I want to set to the size of the object. That's 180 confirmation clicks.

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