Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    1. Maxon Developers Forum
    2. Frischvergiftung
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Frischvergiftung

    @Frischvergiftung

    0
    Reputation
    2
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Frischvergiftung Unfollow Follow

    Latest posts made by Frischvergiftung

    • RE: How to generate a tag?

      Ok thanks. Will do that!

      posted in Cinema 4D SDK
      F
      Frischvergiftung
    • How to generate a tag?

      Hi everyone,

      this is a very basic question i suppose. I am a long time (R13) C4D user and i decided on a whim to try to make me a tag or script that will allow me to place a car on a slanted plane. As we work with cars all the time i thought, wouldnt that be great to have a tag placing a car for me so that every wheels touches the ground.

      I got ChatGPT to write me a script, but i can't seem to figure out where to save it or how to call it. I tried several ways. I saved the script as a .py in its own folder, also adding a res/description folder structure and placed a description.res in there. I can see the now under Extensions/User Scripts, but when i click it nothing happens...

      I'd like the tag to have a field to put in the floor object and a run button.

      I am following these steps:

      • Load the script file align_car_to_floor.py by clicking File > Load... and navigating to your script.

      • Click the Execute button to run the script. This should register the custom tag.

      • Apply the Custom Tag: Select the object you want to apply the tag to (e.g., a car model).

      • Right-click on the object, navigate to Tags > Python Tags > Align Car to Floor.

      I wonder if this is really correct... C4D wont show me a custom tag in Tags > Python Tags >

      Can someone give me a pointer as to how this really works? I have zipped my results so far and i am upping them here. Maybe someone could take a quick peek what my problem here is?

      For now it would just be cool if that tag really showed up, i haven't even gotten to testing the aligning script at all.

      #########
      Align_to_Floor_Tag.zip
      ########

      Thanks, Max

      posted in Cinema 4D SDK python 2024
      F
      Frischvergiftung