• 各位老师好,现在有两个mesh面,需要得到地形面在平面上方的体积和地形面在平面下方的体积,有哪些函数可以参考

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

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

    xuliang
    xuliang
    经过测试,当结构体中新添加数据的时候,就读不出来,一直报错。当我直接用原结构体中的变量存放数据时,就没有问题,请问这是为什么
    • Answered
    • 2 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [C++] 请问下建筑设计 修改 删减实体 这个功能是否有对应的接口。目前是需要对墙上部进行裁剪处理,用solid处理裁剪的话会缺失墙信息

    Xun Lu
    Xun Lu
    • Answered
    • 2 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [Connect Update 17 C++] Get object coordinates in the correct units

    John Smith
    John Smith
    Hello guys, I have a little question about the units that MicroStation uses to return the coordinates of objects through the API. In my add-in, I try to implement some code that will return the position of the camera in the active view. I use the…
    • 3 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C++] Looking for example of using ApplyViewOptions Struct Reference

    hervecuzon
    hervecuzon
    Hi all, Where can I find examples of using ApplyViewOptions Struct Reference? Thank's for your help Hervé
    • 3 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] MicroStationAPI Documentation: NEEDSWORK_VANCOUVER_DOC

    Jon Summers
    Jon Summers
    Many StateFunc_ functions have incomplete documentation. For example... typedef void(* StateFunc_DragInit)(DPoint3dCP point, int view) UserFunction called when NEEDSWORK_VANCOUVER_DOC. Parameters [in] point NEEDSWORK_VANCOUVER_DOC [in] view NEEDSWORK_VANCOUVER_DOC…
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 在点已知的情况下,创建shape失败

    Mike L
    Mike L
    • Answered
    • 4 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MC C++]bmake添加修改编译命令选项

    DengX deng
    DengX deng
    [MC C++]如何更改bmake,使得能够更改cl的编译命令选项, 比如添加“/clr”编译选项或者修改已有的编译选项
    • 4 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MSCE C++】如何在DItem_PushButtonRsc上设置鼠标悬停提示

    liu jun
    liu jun
    请问如何能在DItem_PushButtonRsc上设置鼠标悬停提示
    • Answered
    • 4 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 老师们好,我想系统学习下二次开发中如何对元素进行平移旋转操作,有什么教程吗

    Mike L
    Mike L
    如图 想将以上矩形里边的所有元素按顺序拼接成一条和x轴平行矩形,需要用到哪些函数呢
    • 4 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [CE U17 C++] Create a cell from a zero-length line and past a few copies into the document

    Dart Vader
    Dart Vader
    Hi guys. I have some test code that creates some count of zero-length lines with some size, color and random coordinates: ISessionMgrR sessionMgr = ISessionMgr::GetManager(); DgnModelRefR model = *sessionMgr.GetActiveDgnModelRefP(); DgnPlatform:…
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE U17 C++] Create a POD file with a custom point

    Dart Vader
    Dart Vader
    Hello guys. I want to create my custom POD file with the custom point. And I found a few examples of how to do it with a PointCloudPodWriter. But at the end of the process, I got an error. It has code 32768. It's a general code of ERROR. But what reason…
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 获取geometry信息

    DengX deng
    DengX deng
    【MS C++】如何根据elementID获取元素的位置信息(geometry),不同的元素的获取方式是一样的吗
    • 5 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [C++ Connect] GetRaster file exists check

    rayjoslyn
    rayjoslyn
    I am trying to determine if the file name returned from GetFilespec() exists. Is there a method within here to quickly check whether the file actually exists? while (NULL != (modelRef = mdlModelRefIterator_getNext(iterator))) { for each(DgnRasterP…
    • 5 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • mdlVersion_getVersionNumbers() gives the wrong subMinor number

    Piers Porter
    Piers Porter
    I think this function is giving incorrect results for the subminor version. On MicroStation v10.17.02.61 the VersionNumber struct shows: release = 10 major = 17 minor = 02 subMinor = 450 Similarly on MicroStation version 10.17.01.62 it reports as…
    • 6 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Write an OpenSTAAD Program in VS C++

    Ahmed Shakir Hassan
    Ahmed Shakir Hassan
    I want to learn to write an OpenSTAAD code in Visual Studio 2023 C++. I followed the steps as listed in STAAD.Pro Help OpenSTAAD. The code given by Bentely is look like: #import "C:\Program Files\Bentley\Engineering\STAAD.Pro CONNECT Edition\STAAD\StaadPro…
    • Answered
    • 6 months ago
    • RAM | STAAD | ADINA
    • RAM | STAAD Forum
  • [MSCE C++]剪切实体遇到一个无法剪切的问题,没有提示也没有成功。

    Zhong Ling 钟凌
    Zhong Ling 钟凌
    我用SolidUtil::Modify::BooleanCut一条直线裁剪一个智能实体没有成功,然后我把过程实体添加到模型中,用软件自带的剪切也无法剪切,需要特定的长度才能剪切,450m不可以,460m可以。请教老师这个问题有没有解决的办法。 6012.test.dgn
    • 6 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MSCE U13 c++] mdlPop_elementDescrFromElementDescrDifference有时候会崩溃,有什么办法能捕捉这个错误吗?

    amender carapace
    amender carapace
    这个函数不是太稳定,有时候会崩溃,有什么trycatch方式能自己捕捉错误吗?
    • 6 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [C++/C# MSCE10]如何知道一个curvevector是否自相交

    mingchao yang
    mingchao yang
    已经获得一个curvevector,可能是通过剪切,偏移等操作获得,(offset偏移特别容易出现)这种情况下如何知道这个curvevector是否自相交。如果自相交了,怎么处理能清理掉自相交的部分,比如一个线打了一个结,这个结怎么去掉呢。 假如一个获得一个线串(获复杂链),怎么能判断线串是否有点回折,(类似前进后退前进这样)这种情况下,线串看起来是正常的,其实是个自相交的线串。
    • 6 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MSCE U13 c++】 如何加厚mesh面成实体?

    amender carapace
    amender carapace
    如题,这个mesh面是一个地面的mesh,并不是包裹成封闭壳的。
    • 6 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MSCE U13 c++] 根据横截面loft之后生成的物体不保持原有横截面?

    amender carapace
    amender carapace
    如DGN里面的物体所示,横截面和loft body的端面不是重合的。 用的方法是SolidUtil::Create::BodyFromLoft(out, cveVecArr, 2, NULL, 0, *ACTIVEMODEL)。其中传入 cveVecArr的是两个横截面,横截面是由线段串起来的,上下一共做了两次loft,生成两个loft体。 我试了一下,这个函数结果跟手动工具结果是不一样的。手动工具给出的是正确的结果。
    • Answered
    • 6 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MSCE U13 c++] 为什么mdlElmdscr_fillet 产生的圆弧并不处于和两条交线一个平面的?

    amender carapace
    amender carapace
    如题 3d空间中相交的两条线。 函数产生的结果
    • Answered
    • 7 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MSCE U13 c++】 为什么创建的linestring没法拉伸成体?

    amender carapace
    amender carapace
    我使用代码创建的linestring curvevector没法拉伸成体,发现MS里面操作也是同样的问题。 5861.ItemTypeExperiment.dgn
    • 7 months ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • How to use aaApi_StartPartnerApplication ?

    jmdsgcv
    jmdsgcv
    Hello, I am looking for a solution to view a dgn document from ProjectWise CONNECT Edition (3.299) into Microstation CONNECT (Update 17) without checking out the document, but still be able to modify or add references to the opened document in Microstation…
    • 7 months ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
<>