Ok thanks. Will do that!
Latest posts made by 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
-