The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
@m_adam
I have a handful of doc.SearchObject() so I was looking for an easier route.
I guess there is no way around it except concatenating strings.
Anyhow, thanks for the code and confirmation.
Will tag this thread as closed.
Have a great day ahead!
Thank you @m_adam
I completed my exporter scripts to your help.
I read Links, I will tagging next time.
I'm studing c4d scripts. it still hard.
Thank you again.
hello,
just a step to confirm @C4DS answer and if you look again at @r_gigante answer in this post it will make now fully sense.
regarding your code i will go like this just to be a bit shorter and easier if i want to add or remove a tag from the list.
safeTagList = [5617, 5600, 1604]
tags = node.GetTags()
for tag in tags:
if tag not in safeTagList:
tag.Remove()
Cheers
Manuel
Thanks for the @r_gigante response.
I'll stay away from the non-official method. Is this the reason why COPYFLAGS::PRIVATE_NO_TAGS is not included in the Python documentation of the GetClone() method?
I'll use the clone everything then remove tags methodology instead.
Hi @victor, C4DPL_ENDPROGRAM is called really at the end of Cinema 4D just before it quits. It's most likely that you search for C4DPL_ENDACTIVITY which is sent before any PluginEnd so it's the place to free the resources.
For more information see Plugin Functions Manual: Shutdown.
If you have any questions, please let me know.
Cheers,
Maxime.
Hi @pim only UNDOTYPE_NEW is needed.
Moreover, I would like to mention that SendModelingCommand offers the MODELINGCOMMANDFLAGS_CREATEUNDO flags in order to automatically creates undo.
Cheers,
Maxime.