-
viewCreator2d.createViewForModel(modelId: Id64String, modelType: string, options?: ViewCreator2dOptions) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
const viewCreator = new ViewCreator2d(imodel); what format file to bim file have "BisCore.GeometricModel2d"? |
Beta Was this translation helpful? Give feedback.
const viewCreator = new ViewCreator2d(imodel);
const models = await imodel.models.queryProps({ from: "BisCore.GeometricModel2d" });
if (models.length > 0)
const view = await viewCreator.createViewForModel(models[0].id!, models[0].classFullName);
what format file to bim file have "BisCore.GeometricModel2d"?