-
now i usually convert revit files to one bim file by iTwin Snapshot,the rvt files have some reference file |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
async function addFeatureSymbology() { public constructor(ref: TileTreeReference, ovrs: FeatureSymbology.Overrides) { public get castsShadows() { public get treeOwner() { public addToScene(context: SceneContext): void {
} class Provider implements TiledGraphicsProvider { private constructor( public static async create(
} public forEachTileTreeRef( /** A simple proof-of-concept for drawing tiles from a different IModelConnection into a Viewport. */ |
Beta Was this translation helpful? Give feedback.
-
Hi, I realized the display of the contents of the two BIM files in the same viewport by customizing tiletreereference. The following is the relevant code, hoping to help you. |
Beta Was this translation helpful? Give feedback.
-
@shenshengyi's code is copied from display-test-app. This is not a good solution for @paprophet's problem. @paprophet A snapshot is a read-only representation of the state of an iModel at a specific point in time. If you are trying to keep an iModel in sync with .rvt files that are changing over time, you don't want a snapshot. Consider using iTwin Synchronizer instead of iTwin Snapshot. |
Beta Was this translation helpful? Give feedback.
@shenshengyi's code is copied from display-test-app. This is not a good solution for @paprophet's problem.
@paprophet A snapshot is a read-only representation of the state of an iModel at a specific point in time. If you are trying to keep an iModel in sync with .rvt files that are changing over time, you don't want a snapshot. Consider using iTwin Synchronizer instead of iTwin Snapshot.