Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
Bentley 中国优先社区
  • Welcome to Bentley Communities
  • Bentley's Communities
  • Bentley 中国优先社区
  • Cancel
Bentley 中国优先社区
技术资料库 如何在道路模型中用自定义图片赋材质?
    • Sign In
    Bentley 中国优先社区 requires membership for participation - click to join
    • -Bentley 中文技术资料库
      • +AutoPIPE
      • -Bentley Civil
        • 00 Civil 本地化产品需求反馈
        • 01 如何提交您对 Civil 产品的创意和想法
        • 02 ServiceNow用户服务平台使用方法
        • +Civil 实用功能
        • -CNCCBIM系列
          • -CNCCBIM OpenRoads 常见问题
            • CNCCBIMOpenRoads has stopped working.
            • 为什么排水沟在填方平台处与填方边坡是分离的?
            • 出图时提示找不到路线桩号数据
            • 创建路基边线时提示:Not Found Alignment Feature!
            • 如何在道路模型中用自定义图片赋材质?
            • 安装CNCCBIM后,菜单栏都是小方框是怎么回事?
            • 横断面模板下载!!!
            • 纵断面出图问题
          • +CNCCBIMOpenRoads中文帮助文档
          • +中文帮助文档下载
          • +基本设置问题
          • +实用工具
        • +Drainage and Utilities
        • +For China 版本
        • GC
        • +GEOPAK SITE操作视频
        • +gINT civil tools
        • +OpenBridge
        • +OpenRail ConceptStation
        • +OpenRail Designer
        • +OpenRoads ConceptStation
        • +OpenRoads Designer
        • +OpenTunnel Designer
        • +OpenX Designer CONNECT Edition
        • +PowerCivil
        • Video:利用平面切分工具生成护栏模型
        • +场地
        • 立交设计与建模
        • +软件下载及安装
        • 软件初始化
        • +道路与场地的二次开发
      • +Bentley Navigator
      • +Bentley Substation
      • +BRCM
      • +BridgeMasterModeler/OpenBridgeModeler
      • +i-model / DgnDb
      • +LumenRT/ContextCapture
      • +MicroStation
      • +MOSES
      • +OpenBuildings Designer
      • +OpenFlows
      • +OpenPlant
      • +OpenPlant Electrical CCK
      • Plaxis 地质分析
      • +ProjectWise
      • +ProStructures
      • +SACS
      • +STAAD.Pro
      • +SYNCHRO Pro
      • +其 它
      • +建筑设计之思考(赵大师专作)
      • +桥梁大师<BridgeMaster>
      • +现浇箱梁
      • +软件激活及授权
    • +iTwin 数字孪生平台
    • Bentley二次开发资料库
    • +常见问题汇总
    • Bentley-Learn 官方教学平台-使用方法
    • +中国优先社区使用指南
    • +Bentley学习资料库
    • +Bentley用户成功活动精选
    • +服务合作伙伴计划

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

    如何在道路模型中用自定义图片赋材质?

    除了定义带图片材质的feature definition,还需要在materials.dgnlib文件添加材质,具体操作步骤如下:

    1,首先您需要把您的材质图片拷贝到下面的文件夹(在C:\ProgramData\Bentley\CNCCBIMOpenRoads\Configuration\Organization-Civil\_Civil Default Standards - Metric\Materials路径下面,以下简称materials文件夹)。

    2,然后您需要在materials.dgnlib文件中(在materials文件夹下)建立新的材质。建立的时候不要新建,而是要拷贝一个常用的材质,然后重新命名并贴图。

    3,命名尽量选取英文,中文可能会有问题。如果非要是中文,也建议以英文字母打头。

    4,然后在feature.dgnlib文件下(在C:\ProgramData\Bentley\CNCCBIMOpenRoads\Configuration\WorkSpaces\CNCCBIM Examples\WorkSets\WS-Metric\Standards\Dgnlib\Feature Definitions路径下面)依次创建element template、feature symbology、feature definition,注意三者的嵌套关系。

        a,新建图层。

        b,新建element template,选择上面创建的图层;添加material,选择第2步创建的材质。

        b,新建feature symbology,选择上面创建的element template。

        c,新建feature definition,选择上面创建的feature symbology。

    建议为图层,element template、feature symbology、feature definition他们取相同的名称,方便识别。

    这样,含有自定义图片作为材质的特征定义就定义好了。

    5,重新打开道路dgn文件,这样对dgnlib文件所作的修改才会生效。

    6,修改道路横断面模板,给需要的组件选择上面定义的feature definition。注意,如果当前dgn文件中存在相同的特征,可能会有问题。

    • Share
    • History
    • More
    • Cancel
    • Anna An Created by Bentley Colleague Anna An
    • When: Tue, Oct 22 2019 4:51 AM
    • Anna An Last revision by Bentley Colleague Anna An
    • When: Tue, Oct 22 2019 5:01 AM
    • Revisions: 2
    • 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