Skip to content

viewCreator2d #323

Answered by paprophet
paprophet asked this question in Q&A
Nov 29, 2020 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

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"?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pmconne
Comment options

@roopksaini
Comment options

@pmconne
Comment options

@pmconne
Comment options

Answer selected by calebmshafer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants