SOLVED overwrite the alembic file loading in c4d?

I use houdini to create and export some abc file to c4d.
But I found that when the abc file is loading in c4d, it can not be delete or overwrite?
I have to restart c4d(due to octane render, it is really slow when reopen an existing project).
Is there a script to release the abc file so that I can overwrite it?

Hello @atticuslv,

as indicated in my last posting, this is not a programming question, as you do not invoke any of our APIs, and you should reach out to customer support with that question. We only deliver API related support here.

Cheers,
Ferdinand

Hello @atticuslv,

welcome to the Plugin Café and thank you for reaching out to us. You wrote:

But I found that when the abc file is loading in c4d, it can not be delete or overwrite?

While in principle a simple enough question, I struggle here a bit with the tense you used and the lack of some other information.

  1. You do not tell us on which platform (macOS, Windows) you do encounter this problem.
  2. You do not tell us the version of Cinema 4D you are using.
  3. You do not tell us if you have enabled features of an Alembic import object.
    Screenshot 2022-06-01 at 16.26.35.png
  4. You say "is loading", which usually would mean "is (in the process) of loading" and contrasts with "has been loaded". Do you actually mean a file which is still being loaded?

Some thoughts:

  1. I just tried here on my Mac with S26.015, and I could delete without problems an Alembic file which I previously had imported into Cinema 4D and which was still residing in memory there as the active document.
  2. A file which is still in the process of being opened cannot be deleted, this is a functionality of operating systems, and you should not try to circumvent this. You must either wait for the file to be fully loaded or kill the Cinema 4D process, to be able to delete that file.
  3. Enabling one of the fancier Alembic import object features might open a file access/handle for that file, even after the file has been loaded, and then prevent you from deleting that file.

All in all, this sounds more like an end-user support problem or a bug than a programming problem. We cannot provide end-user-support in this forum. I would recommend reaching out to end-user support by opening a ticket and asking your question there.

Cheers,
Ferdinand

OK, I will go to fill in some details.
I am using R26 on windows11. What I said is once I create a abc file, and load it in a c4d scene(just like your image, I successfully load it as an abc object), I cannot write a new version of file to this path unless I close c4d.
So every I want to check the shading of a new abc file, I will follow the step.

  1. Close c4d
  2. export a new abc file to overwrite the old one
  3. Open c4d, waiting for all the plugins that need to connect to the internet

Hello @atticuslv,

as indicated in my last posting, this is not a programming question, as you do not invoke any of our APIs, and you should reach out to customer support with that question. We only deliver API related support here.

Cheers,
Ferdinand