Graphical Editing Standalone iModels #7491
-
ContextWe are currently experimenting with storing Standalone iModels in component center for users to use as "templates" when creating sheets by harnessing transformations. We are currently having trouble with the editing workflow for users to make updates to these standalone iModels. The intent is to download the standalone iModel, edit it, then upload it as a new version of the template. The problem is that when editing the standalone, the tiles are not getting updated with the new geometric elements. I understand it to be a tile update issues because, the geometry is not visible when inserted. If I zoom into the view more than I have previous, the tiles have the inserted geometry. If the iModel is closed, the tiles cache delete, and the iModel is opened again, the new geometry is visible. We are using similar logic to open and edit iModels from the hub and that works, but not with standalones. To review what we are doing:
It's been awhile since I set this up so it's possible I'm missing a step. If so, I apologizes Questions
CC: @ashish-srivastava-dev |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
On a side not, I attempted test the above workflow by adding a geometric element to a standalone iModel using DTA, and had the following issue:
Is this workflow currently bugged in DTA? |
Beta Was this translation helpful? Give feedback.
-
This is what I use for testing with standalone imodels in a studio test app as well. This plus enterEditingScope should be all you need. dta place linestring currently works as well, I used it yesterday. |
Beta Was this translation helpful? Give feedback.
-
|
One workaround that we tried, add a new property |
Beta Was this translation helpful? Give feedback.
-
|
Using Component Center for template iModels is definitely the wrong approach for many reasons, as I've explained numerous times. That's the whole reason I created the CatalogIModel api. Why not use that? |
Beta Was this translation helpful? Give feedback.
One workaround that we tried, add a new property
StandaloneEditwith the value{"txns": true}in the be_local table for the standalone bim. This works but doesn't seem to be a parmanent solution.