<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XGenRenderAPI::PatchRenderer causes clumping guide ID error after editing xgen parameters in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802303#M18040</link>
    <description>&lt;P&gt;Thank you, it can be resolved. That's great&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 06:50:05 GMT</pubDate>
    <dc:creator>957714080</dc:creator>
    <dc:date>2025-09-09T06:50:05Z</dc:date>
    <item>
      <title>XGenRenderAPI::PatchRenderer causes clumping guide ID error after editing xgen parameters</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13798137#M18037</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We’re integrating XGen via XGenRenderAPI for our own renderer. Parsing works, but when artists edit XGen parameters and we re-parse in the same Maya session, XGen emits repeated errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“clumping guide ID larger than number in xuv file”&lt;/EM&gt;&lt;BR /&gt;Deleting &lt;STRONG&gt;.xuv&lt;/STRONG&gt; before parse avoids the error. In Arnold, when caches are stale, we see:&lt;BR /&gt;[xgen] Batch mode tests failed! proceeding with Xgeneration... using live scene data&lt;BR /&gt;— which appears to force a “live scene data” path and avoids stale clump caches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we’re doing:&lt;/P&gt;&lt;P&gt;auto* patch = XGenRenderAPI::PatchRenderer::init(&amp;amp;cb, cmd.c_str());&lt;BR /&gt;auto* par = XGenRenderAPI::ParallelRenderer::init(patch);&lt;/P&gt;&lt;P&gt;cb implements ProceduralCallbacks (flush/log/get* etc.). Even with an empty flush(), the stale .xuv issue persists unless we delete them first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How to trigger “live scene data”&lt;/STRONG&gt; reliably from a third-party renderer? Is there a documented &lt;STRONG&gt;cmd string&lt;/STRONG&gt; or flag for PatchRenderer::init(...) to bypass batch caches and use live scene data (like MtoA’s fallback), or is the intended approach to fail batch validation and let XGen switch internally?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Best-practice cache handling&lt;/STRONG&gt;: What is Autodesk’s recommended approach to avoid clump ID desync without deleting user .xuv maps? For example, does XGen provide a supported API call to &lt;STRONG&gt;regenerate clumping maps&lt;/STRONG&gt; programmatically or to &lt;STRONG&gt;redirect&lt;/STRONG&gt; the clump “Points Dir” per-parse to an isolated location?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 10:56:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13798137#M18037</guid>
      <dc:creator>swflyKXVT3</dc:creator>
      <dc:date>2025-09-05T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: XGenRenderAPI::PatchRenderer causes clumping guide ID error after editing xgen parameters</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802105#M18038</link>
      <description>&lt;P&gt;I also encountered the same problem&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 04:01:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802105#M18038</guid>
      <dc:creator>957714080</dc:creator>
      <dc:date>2025-09-09T04:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: XGenRenderAPI::PatchRenderer causes clumping guide ID error after editing xgen parameters</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802299#M18039</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In XGenRenderAPI::ProceduralCallbacks, there is a callback&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;bool Procedural::get(EBoolAttribute in_attr) const&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can try to return true when the in_attr is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ClearDescriptionCache&lt;/STRONG&gt;. It will cause XGen render reloading the description.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use mtoa's handling policy. When it isn't exporting a file or a batch session, it will always try to clean the cache first.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 06:51:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802299#M18039</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2025-09-09T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: XGenRenderAPI::PatchRenderer causes clumping guide ID error after editing xgen parameters</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802303#M18040</link>
      <description>&lt;P&gt;Thank you, it can be resolved. That's great&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 06:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802303#M18040</guid>
      <dc:creator>957714080</dc:creator>
      <dc:date>2025-09-09T06:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: XGenRenderAPI::PatchRenderer causes clumping guide ID error after editing xgen parameters</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802398#M18041</link>
      <description>&lt;P&gt;Thanks this totally solves the problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 08:04:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/xgenrenderapi-patchrenderer-causes-clumping-guide-id-error-after/m-p/13802398#M18041</guid>
      <dc:creator>swflyKXVT3</dc:creator>
      <dc:date>2025-09-09T08:04:11Z</dc:date>
    </item>
  </channel>
</rss>

