<?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: Bulk change cloud models using Revit Batch Processor in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/bulk-change-cloud-models-using-revit-batch-processor/m-p/14090750#M85472</link>
    <description>&lt;P&gt;Never mind. I found a different method for saving cloud models is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of using &lt;STRONG&gt;doc.Save()&lt;/STRONG&gt; I need to use &lt;STRONG&gt;doc. SaveCloudModel()&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2026 23:00:41 GMT</pubDate>
    <dc:creator>floretti</dc:creator>
    <dc:date>2026-04-14T23:00:41Z</dc:date>
    <item>
      <title>Bulk change cloud models using Revit Batch Processor</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bulk-change-cloud-models-using-revit-batch-processor/m-p/14090701#M85471</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anybody managed to successfully save changes to several non-workshared cloud models using the Revit Batch Processor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make a small change to about 1000x models stored in ACC and not workshared. I can make the changes without issues but the saving process takes about a minute per model and the Revit Batch Processor seems to move on to the next model without letting the save process complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already tried multiple options (shown below) without success.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Sleep Option
doc.Save();
System.Threading.Thread.Sleep(30000);

// Await Option
doc.Save();
await Task.Delay(30000);

// Postable Command Option
RevitCommandId saveCommandId = RevitCommandId.LookupPostableCommandId(PostableCommand.Save);

if (uiapp.CanPostCommand(saveCommandId))
{
	uiapp.PostCommand(saveCommandId);
}

// DoEvents Option
doc.Save();
for (int i = 0; i &amp;lt; 10; i++)
{
	// Processes all Windows messages currently in the message queue
	System.Windows.Forms.Application.DoEvents();

	// Brief pause to allow background threads to progress
	System.Threading.Thread.Sleep(1000);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using project and model GUIDs to open each model and a combination of a C# dll with a python script to run the C# method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to open one of the models a couple of minutes later I get the message below showing that I have a cached version of the model that includes changes that were never sync'd to the cloud model.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="floretti_0-1776207029996.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1633327i02232BAACD094A85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="floretti_0-1776207029996.png" alt="floretti_0-1776207029996.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 22:52:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bulk-change-cloud-models-using-revit-batch-processor/m-p/14090701#M85471</guid>
      <dc:creator>floretti</dc:creator>
      <dc:date>2026-04-14T22:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk change cloud models using Revit Batch Processor</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bulk-change-cloud-models-using-revit-batch-processor/m-p/14090750#M85472</link>
      <description>&lt;P&gt;Never mind. I found a different method for saving cloud models is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of using &lt;STRONG&gt;doc.Save()&lt;/STRONG&gt; I need to use &lt;STRONG&gt;doc. SaveCloudModel()&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 23:00:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bulk-change-cloud-models-using-revit-batch-processor/m-p/14090750#M85472</guid>
      <dc:creator>floretti</dc:creator>
      <dc:date>2026-04-14T23:00:41Z</dc:date>
    </item>
  </channel>
</rss>

