<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[C4D 2026.4 — Supported API to release an imported Particle Group Alembic file handle?]]></title><description><![CDATA[<p dir="auto"><strong>Title: Cinema 4D 2026.4: How to release an Alembic file used by a Particle Group?</strong></p>
<p dir="auto">Hi Maxon SDK team,</p>
<p dir="auto">I'm developing a Cinema 4D plugin on Windows (Cinema 4D 2026.4). It imports an animated Alembic file as a native Particle Group using <code>c4d.documents.MergeDocument()</code>.</p>
<p dir="auto">When the archive is no longer needed, I disable the Particle Group cache and clear it:</p>
<ul>
<li><code>pg.SetParameter(c4d.DescID(c4d.SIMULATION_CACHE_ENABLED), False, c4d.DESCFLAGS_SET_0)</code></li>
<li><code>doc.ExecutePasses(None, True, True, True, c4d.BUILDFLAGS_NONE)</code></li>
<li><code>c4d.CallButton(pg, c4d.SIMULATION_DELCACHE)</code></li>
</ul>
<p dir="auto">The Particle Group then reports zero particles, but Windows still returns <code>[WinError 32]</code> (file in use) when I try to rename the original <code>.abc</code> file.</p>
<p dir="auto">I reproduced this with an animated Ogawa Alembic file (22 samples, around 51,700 particles at frame 1) in a fresh test document, without adding Undo entries or changing the source path. The same procedure successfully releases a small, single-sample Alembic file.</p>
<p dir="auto"><strong>Is there a supported Python or C++ API or workflow that releases the native Particle Group's Alembic file handle while keeping the Cinema 4D document open?</strong> Does removing or freeing the imported Particle Group guarantee that the file is released, or is there another required step?</p>
<p dir="auto">I can provide the exact test script and a sample Alembic archive if needed.</p>
]]></description><link>http://developers.maxon.net/forum/topic/16445/c4d-2026.4-supported-api-to-release-an-imported-particle-group-alembic-file-handle</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 19:09:47 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16445.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Oct 2026 02:07:29 GMT</pubDate><ttl>60</ttl></channel></rss>