Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
Bentley 中国优先社区
  • Welcome to Bentley Communities
  • Bentley's Communities
  • Bentley 中国优先社区
  • Cancel
Bentley 中国优先社区
技术资料库 MicroStation VBA培训视频
    • Sign In
    Bentley 中国优先社区 requires membership for participation - click to join
    • -Bentley 中文技术资料库
      • +AutoPIPE
      • +Bentley Navigator
      • +Bentley Substation
      • +Bentley 道路与场地设计
      • +BRCM
      • +BridgeMasterModeler/OpenBridgeModeler
      • +i-model / DgnDb
      • +LumenRT/ContextCapture
      • -MicroStation
        • +01-常见问题解答
        • -02-培训资料
          • MicroStation V8i基础培训视频
          • MicroStation VBA培训视频
          • MicroStation Wednesday视频分享
          • MicroStation管理员培训视频
          • 深入探讨MicroStation DGN基本概念系列
        • +03-软件安装与配置
        • +04-图形用户界面
        • +05-辅助绘图
        • +06-二维绘图
        • +07-三维建模
        • +08-渲染和动画
        • +09-打印
        • +10-元素选择和操作/测量
        • +11-单元/组/图案化
        • +12-文字/标注/表格/报表
        • +13-自定义线型和多线
        • +14-单位和坐标系
        • +15-模型与参考文件
        • +16-视图和层
        • +17-动态视图和组图
        • +18-光栅/点云/实景
        • +19-DGN/DWG及格式转换
        • +20-实用工具
        • +21-二次开发
        • +22-其它
        • +23-MicroStation与iTwin交互
        • +24- Learning Tips
      • +MOSES
      • +OpenBridge
      • +OpenBuildings Designer
      • +OpenFlows
      • +OpenPlant
      • +OpenPlant Electrical CCK
      • Plaxis 地质分析
      • +ProjectWise
      • +ProStructures
      • +SACS
      • +STAAD.Pro
      • +SYNCHRO Pro
      • 中国优先产品汇总
      • +其 它
      • +建筑设计之思考(赵大师专作)
      • +桥梁大师<BridgeMaster>
      • +现浇箱梁
      • +软件激活及授权
    • +iTwin 数字孪生平台
    • Bentley二次开发资料库
    • +常用产品离线安装包分享 [截止到2021年9月]
    • +常见问题汇总
    • Bentley-Learn 官方教学平台-使用方法
    • +中国优先社区使用指南
    • +Bentley在线视频资源精选
    • +Bentley学习资料库
    • +服务合作伙伴计划

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

    MicroStation VBA培训视频

    【最新MSCE VBA培训资料(含录像)】

    链接:https://pan.baidu.com/s/1fjy4YTkGFPwhYvQACEmMBQ
    提取码:yo6d 

    【老版MSV8XM VBA培训视频(含视频中涉及的例子源代码)】

    链接: https://pan.baidu.com/s/15QThniAu8bFNdtDTFn__qg
    提取码:50lr

    • Share
    • History
    • More
    • Cancel
    • Yongan.Fu Created by Bentley Colleague Yongan.Fu
    • When: Tue, Jun 7 2016 11:42 PM
    • Lily Chen Last revision by Bentley Colleague Lily Chen
    • When: Fri, Apr 22 2022 2:45 AM
    • Revisions: 6
    • Comments: 1
    • Sign in to reply

    Top Comments

    • Yongan.Fu
      Offline Yongan.Fu over 6 years ago +3
      MultiScaleCopy.mvba中需要修改一下代码如下: For i = 1 To CInt(.txtCopies.Text) - 1 Set newEl = ActiveModelReference.CopyElement(el) newEl.Move offsetPnt newEl.Rewrite orgPnt.X = (newEl.Range.High.X + newEl…
    • Yongan.Fu
      Offline Yongan.Fu over 6 years ago

      MultiScaleCopy.mvba中需要修改一下代码如下:

      For i = 1 To CInt(.txtCopies.Text) - 1

                 Set newEl = ActiveModelReference.CopyElement(el)

                 newEl.Move offsetPnt

                 newEl.Rewrite

                 orgPnt.X = (newEl.Range.High.X + newEl.Range.Low.X) / 2#

                 orgPnt.Y = (newEl.Range.High.Y + newEl.Range.Low.Y) / 2#

                 orgPnt.Z = (newEl.Range.High.Z + newEl.Range.Low.Z) / 2#

                 newEl.ScaleAll orgPnt, dScale, dScale, dScale

                 Set el = newEl.Clone

             Next

      • Cancel
      • Vote Up +3 Vote Down
      • Sign in to reply
      • More
      • Cancel
    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