Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
Bentley 中国优先社区
  • Welcome to Bentley Communities
  • Bentley's Communities
  • Bentley 中国优先社区
  • Cancel
Bentley 中国优先社区
技术资料库 04-iModel上传
    • Sign In
    Bentley 中国优先社区 requires membership for participation - click to join
    • +Bentley 中文技术资料库
    • -iTwin 数字孪生平台
      • Connector(原名Bridge)
      • i-twin微信小课堂
      • -iModel.js
        • +01-iModel.js资源
        • -02-iModel.js初步
          • 01-开始使用iModel.js
          • 02-简介
          • 03-为何使用iModel.js
          • 04-iModel上传
          • +05-iModel.js处理CSV文件
          • 06-简单的浏览应用
          • 07-数据显示
          • 08-前端和后端
          • 09-超级URLs
          • 10-iModel项目
          • 11-系统集成应用
          • 12-部署应用
          • 13-与微软IOT集成
          • 14-BIS数据结构
          • 15-快速开始
        • +03-iModel.js专题应用
      • +iTwin工作流程
      • +iTwin技术主题
    • Bentley二次开发资料库
    • +常见问题汇总
    • Bentley-Learn 官方教学平台-使用方法
    • +中国优先社区使用指南
    • +Bentley学习资料库
    • +Bentley用户成功活动精选
    • +服务合作伙伴计划

     
     Questions about this article, topic, or product? Click here. 

    04-iModel上传

    说明:

    原文刊登在Medium.com/imodeljs站点,作者: Roop Saini

    中文翻译:

    正在进行中...

    英文原文:

    If you have worked with iModel.js since its initial release last October, you have probably already seen the magnificent “Retail Building Sample” and its many many windows.

    If you have no idea what I am talking about, the Retail Building is sample data that we provide to get you kickstarted with iModel.js. I remember when I first started out, it ended up being an excellent learning tool to get familiar with the API. This one time, I wrote some code to tint every window of the building with random colors:

    You might think, well that’s all nice and cute Roop but I have an app to develop…and this building (in all its glory) just won’t cut it.

    How do I get my own data on this thing?

    I would tell you: that is a legitimate question and it needs to be answered. So without further ado:


    Using your data with iModel.js (in 5 easy steps)

    1. Go to the registration dashboard.
    2. Click New Project.
    3. Select iModel Source as Local iModel File.
    4. Choose your file (dgn/i.dgn/dwg/rvt/imodel/bim) and hit Submit.
    5. You are all set :)

    Two common questions:

    What if my model is in some other format (eg. 3ds/ifc)?

    What if I have a multi-file project?

    In that case, you would convert your data to iModel 2.0 and then upload the resulting .imodel file.

    Converting your data to iModel 2.0 (in 5 easy steps)

    1. Get Bentley View CONNECT edition (it’s free)*.
    2. Open your model (eg. 3ds/ifc).
    3. Click File -> Publish i-model.
    4. Check options Create a single package and iModel version 2.0.
    5. Hit Publish.

    * iModel publishing is also available from MicroStation, PowerDraft, and nearly every other Bentley desktop application (details here).


    Once your iModel is successfully uploaded, you should receive the following confirmation email:

    Hooray!

    You are all set to develop your first iModel.js application. Happy coding :)

    • Share
    • History
    • More
    • Cancel
    • shunnai.zhao Created by Bentley Colleague shunnai.zhao
    • When: Mon, Sep 14 2020 1:34 AM
    • shunnai.zhao Last revision by Bentley Colleague shunnai.zhao
    • When: Mon, Sep 14 2020 8:12 AM
    • Revisions: 3
    • Comments: 0
    • Sign in to reply
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies