-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to save TileTreeReference ? #7834
Comments
It sounds like you have written your own app that adds custom tile trees to a view. If so, it would be the responsibility of your app to save and restore that information. |
Thank you very much ! By the way, will iTwin-core provide related interfaces in the future to support viewport.addTiledGraphicsProvider(provider), allowing the added TileTreeReference information to be saved to a file so that external file can be directly referenced when opening the file next time? |
What specifically are you using TiledGraphicsProvider for? To view multiple iModels together in a single viewport, perhaps? |
Yes. Sometimes, I want to reference the model from another iModel as a whole in the current file. This makes it easier to manage different models. Alternatively, when generating drawings, I want to reference a file that contains a drawing frame into the current file. I can copy multiple instances, and when I remove the reference, all the frames will be removed uniformly. |
Hi! How can the reference information added using the TileTreeReference and TiledGraphicsProvider classes, along with vp.addTiledGraphicsProvider(provider), be saved to a file so that it can be directly referenced the next time the file is opened? Does itwinjs-core provide related functionality?
The text was updated successfully, but these errors were encountered: