Thanks for letting me know what you have tried already, Gonçalo Silva Arquitectos.
I installed VW and tried different ways to “Export” as obj or dae, or I have used the “Send a file to CINEMA 4D (3D only)” directly. In the File>Export>Collada file I couldn’t find any Compositing Tag in the scene file.
None of these gave me a Compositing Tag on the Objects. I found only one that was on the Sky object. But set neutral, with no effect on the scene/objects.
Which triggers the question, why is it important for your workflow to have the Compositing Tag gone?
There is certainly a reason, but I’m not aware of it.
There are two places to go to change that once and forever, to ask the VW support to haven option to exclude these (Preferences or any optional Dialog), or to have MAXON doing it in their Dialog (see image) as default option. I guess you have a solid reason that might benefit others as well,so:
http://www.maxon.net/support/suggestions.html
My experience in Python in limited, so I feel not comfortable to share those. Rick, Donavan, Bret or Patrick have more routine in doing so. Perhaps they like to create this for CV-Tools.
My idea would be to go through the parts of the scene/ tag wise in a loop and then have an “If routine” asking for the name
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.documents/BaseDocument/index.html?highlight=getactivetags#BaseDocument.GetActiveTags
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d/index.html?highlight=tag#c4d.GetTagName
and if the name equals “Compositing”, then it should be deleted. “.Remove()”
OR, a loop that ask for the ID, and deletes those: (100004788, 50021) the ID of that Tag if I’m not mistaken.
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d/C4DAtom/GeListNode/BaseList2D/index.html?highlight=killtag#BaseList2D.KillTag
I’m not aware of an option to have the “Search Result” of this method in your example deleted, I might be wrong. Given that there is no Script log entry while doing so leads me to that impression. Again, Python is not my domain.
All the best