Manual Regeneration On Workshared Cloud Models Revit API

Manual Regeneration On Workshared Cloud Models Revit API

noamGMUMM
Explorer Explorer
485 Views
3 Replies
Message 1 of 4

Manual Regeneration On Workshared Cloud Models Revit API

noamGMUMM
Explorer
Explorer

Hi All!

 

I'm working on an add-in that generates a number of complex 2D and 3D views and sheets (shopdrawings for fabrication). The number of views ranges from around 10 all the way up to 100+ views and sheets.

Using Manual Regeneration and only updating when necessary makes this tool very efficient, but when I tried deploying in on a workshared cloud model, it appears the tool reverts to using Automatic Regeneration. This causes a large number of "Generating graphics for 3D View / Sections / Elevation" processes and increases the runtime greatly.

 

Am I missing something in the functionality of manual regeneration? Is it possible on a workshared model that is on the cloud?

 

I've tried looking into others' experience with this, but have yet to find anyone else experiencing this problem. The code works perfectly on local files but doesn't work when they are workshared and on the cloud.

Please let me know if you have experience in this matter.

 

Thanks in advance!

Noam

0 Likes
486 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

That sounds strange.

 

I forwarded your question to the development team and hope they can help.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

noamGMUMM
Explorer
Explorer

Thank you!

I'm continuing testing here and will update this thread if I get anywhere.

0 Likes
Message 4 of 4

jeremytammik
Autodesk
Autodesk

As expected, the development team confirm that there is no difference:

 

Regeneration behaviour should not be different on work shared or cloud work shared models.  The only differences would be if you are synching to central or reloading latest during that process.  In that situation there may be many more elements changed and more to do during regeneration.
 


Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder