• 使用DgnPrimitiveTool的__OnDataButton()函数实现相应的功能的时候,获取点为什么会报错呢?

    xuliang
    xuliang
    在DPoint3d strP这段代码一直报错 但是当调整代码的位置 不改变代码的时候 又可以成功运行 这是什么原因呢
    • 8 hours ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [CE 17 C++] How to disable/enable the button on my custom ribbon?

    Jack Black
    Jack Black
    Hi, I'm developing the add-in for MicroStation. And my add-in has a custom ribbon. This ribbon contains a few buttons. And I'm interested in how can disable/enable some of them based on some property/method in my C++ code. My ribbon was created in…
    • 7 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C++ CE 17] Is it possible to define a camera type via the API?

    Jack Black
    Jack Black
    Hi, I'm interested is it possible to define a camera type via the API? As I understand the camera in the MicroStation can have a few different types - perspective and parallel. Also, the perspective camera has their types - one-point, two-point, or…
    • 9 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C++] How to change the size of text element in annotation scale

    hervecuzon
    hervecuzon
    Hi all, I would like to developp the same functionnality as we can do with the property dialog of the model. I would like to change all the text defined in annotation scale by changing the annotation scale of the model. Here is my code to change the…
    • 15 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 删除元素调用回调函数进行处理

    xuliang
    xuliang
    老师好, 问题如上, 我之前看了这个博客https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/230386/msce-c-dgn,但是还是不会这个回调函数应该怎么写,请问有相关的实例吗?
    • 17 days ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [CONNECT C++] NamedBoundaryGroup Type

    Jon Summers
    Jon Summers
    Class NamedBoundaryGroup has properties Name , Description and Type . Name and description have getters and setters, but Type has only a getter ( WString NamedBoundaryGroup.GetType() ). However, there's no way to set the Type of a NamedBoundaryGroup…
    • 18 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 怎么去修改当前元素的依赖

    xuliang
    xuliang
    老师,我需要将当前的元素的依赖的元素修改成为另一个元素。请问有什么方法吗 我添加依赖的代码如下 DependencyLinkage depLinkage; if (SUCCESS != DependencyManagerLinkage::GetLinkage(nullptr, *elementToModify, SIGNATUREID_DependencyRebarEndDevice, DependencyRebarEndDevice_value)) { if (SUCCESS…
    • 21 days ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [PS C++\C#]二次开发能获得出图时的那张形状图片吗?

    霜 胡
    霜 胡
    PS出图时候的那张标注了尺寸信息的图片,目前SDK中有接口可以得到吗?C++或者C#都可以
    • Answered
    • 23 days ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [PS C++]SDK示例通过黑窗口启动VS失败

    霜 胡
    霜 胡
    SDK示例通过黑窗口启动VS失败,提示无法打开vfprojcommon.mki文件,我电脑上没有这样一个文件,是不是MS和PS的SDK必须版本匹配才行?我MS是10.16.2.34,PS是10.7.2.33
    • Answered
    • 29 days ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 钢筋合并

    xuliang
    xuliang
    两根钢筋被切断,怎么才能实现将这两个钢筋合并成一根呢
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [CONNECT C++] Example of SQLite

    Jon Summers
    Jon Summers
    The C++ MicroStationAPI provides an interface to SQLite . For example, BeSqlite.h . There is no example of SQLite, unfortunately. Would somebody like to write one?
    • Answered
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 怎么实现参考文件和当前model合并

    xuliang
    xuliang
    //增加套筒 传入的点为钢筋的中心点 StrP是钢筋的开始点 配合钢筋切断使用 void RebarAddCoupler::AddCoupler(DPoint3d const& Point, CouplerType shape, DPoint3d const& StrP, DPoint3d const& EndP /*, double Dim*/) { CreateModel(shape); //获取元素的比例因子 这个通过钢筋直径进行判断 double dScale = AnchorSlabAttachement…
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 旋转矩阵问题

    xuliang
    xuliang
    怎么通过代码来实现,当前的model和横向的线的中心点位置套接.
    • Answered
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • DisplayRule 设置为 无

    志强 封
    志强 封
    如题,请问各位老师,如何用代码或keyin将 显示样式中的 DisplayRule项设置为 (无) 。谢谢。
    • Answered
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [CE 17 C++] Freeze graphic area during some operations

    Vadym  Bezdykhaniuk
    Vadym Bezdykhaniuk
    Hello, Is there some way to freeze the graphic area in the MicroStation in all views during some operations? For example, let's imagine that I try to build some body. This body will include a few body operations, like extrude, cut, bool, etc. But…
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 参考模型跟随鼠标移动

    xuliang
    xuliang
    老师,我实现了从一个dgn文件中读取model到另一个dgn文件中成为参考模型,我需要通过怎么样的设置来使得这个参考模型随着鼠标的移动呢? 我的代码如下: 其中SetPreLocalFunction是参考郭老师的回复的一个帖子进行改写的,当我点击模型时,参考进来的model还是出现在坐标原点。 不是跟着鼠标键进行移动的 //从D盘中读取参考文件模型 WString fileName(L"D:\\RebarAddCoupler.dgn"); WString Path(L…
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 怎么将一个dgn文件中的model拷贝到另一个dgn文件中的model中去

    xuliang
    xuliang
    求助
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 钢筋加套筒

    xuliang
    xuliang
    请问老师,有没有在一根钢筋上面添加套筒的参考代码进行学习
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 如何将参数化实体转换为智能实体

    志强 封
    志强 封
    如题,如何用C++将参数化实体转换为智能实体,最好提供一个示例程序,谢谢。
    • Answered
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • bmake编译错误

    xuliang
    xuliang
    通过bmake -dIDE RebarSDK.mke文件 之后直接报错找不到头文件#include <RebarElement.h>
    • Answered
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 两个DGN文件中的模型,怎么通过代码将其拼接起来

    xuliang
    xuliang
    老师好,我在一个dgn文件中锚固端板模型可以和第二个文件中的钢筋模型锚固在一起,怎么实现我从钢筋模型中读取到锚固端板?
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [CE 17 C++] Change camera type

    Vadym  Bezdykhaniuk
    Vadym Bezdykhaniuk
    Hello, Are there some methods that I can use to change the type of camera projection in the active view? I mean the type described in the list of "Define Camera" dialog: By default, in the new document, the camera has the "Parallel" type. But…
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 各位老师好,现在有两个mesh面,需要得到地形面在平面上方的体积和地形面在平面下方的体积,有哪些函数可以参考

    Mike L
    Mike L
    如图 有一个平面和一个地形面都是mesh元素
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 请问有没有实现Toggle Button Item的实例代码参考

    xuliang
    xuliang
    需要实现在墙面加钢筋,通过toggle buttom选择在正面,背面,还是中部加上钢筋。
    • Answered
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • ProStructures C++ dialog 读取不到结构体中的数据

    xuliang
    xuliang
    经过测试,当结构体中新添加数据的时候,就读不出来,一直报错。当我直接用原结构体中的变量存放数据时,就没有问题,请问这是为什么
    • Answered
    • 1 month ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
>