• [CONNECT C++] What are the mdlTable_* and mdlTableEntry_* replacements?

    Miroslav Mandl
    Miroslav Mandl
    Hello, In V8i we used to use the mdlTable_* and mdlTableEntry_* functions, all from the table.fdf. In the CONNECT Edition (Update 14) these general functions are missing. In what way can we achieve the same functionality? mdlTable_addEntryDescriptorToChain…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Define a ACS with rotation Matrix

    Ole Gottwald
    Ole Gottwald
    Hi, I'm using the function RotMatrix :: InitFrom2Vectors( DVec3dCR xVector, DVec3dCR yVector) to initialise a Rotation Matrix for a new ACS. RotMatrix acsRot; DVec3d xVector, yVector; xVector.Init(0, 1, 0); yVector.Init(0, 0, 1); acsRot.InitFrom2Vectors…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to activate particular parametric set/variation?

    Nirajchandra Gode
    Nirajchandra Gode
    Microstation Connect Edition Update 14 - C++ Native - SDK In a particular model, I have added one variation/Parametric set using API - (IDgnComponentDefinitionModelHandler) -> CreateParameterSet(). I have also created associated variables with this…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MicroStation CONNECT Edition SDK Update 11

    Robert Hook
    Robert Hook
    December 11, 2018 The MicroStation SDK team is pleased to announce the release of the MicroStation CONNECT Edition SDK Update 11 (U11). This update provides several enhancements in the following areas: Latest Changes - Take a few moments to review…
    • over 4 years ago
    • MicroStation
    • MicroStation Announcements Forum
  • [MSCE C++]请问如何给元素添加外部文件links

    Zemin.Li
    Zemin.Li
    请问右击元素给元素添加links如何通过代码实现?比如给元素添加一个外部文件link,谢谢老师。
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MSCE c++]请问有没有给元素增加link的例子?

    Zemin.Li
    Zemin.Li
    给元素增加file, uri, keyin类型的link,不是通过sendKeyin的方式,不知道通过mdl如何实现,麻烦老师了。
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MS CE C++] R资源对话框的问题

    Zemin.Li
    Zemin.Li
    1、所有的子控件不能靠左对齐; 2、combox控件选择条目后,显示不正常; 3、子控件内容默认值的设置错误,BIW_rebarLeaderMDLglobals biw_rebarLeaderMDLglobals = {30, 2000, 8, 2}; 4、编译错误(程序可以运行); 2703.BIW_rebarLeaderMDL.rar
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MSCE C++] DgnElementTool 依据选择的元素,动态放置

    Zemin.Li
    Zemin.Li
    我有这样的一个需求,点选6个元素之后获取6个元素中心,以此6个点为基点动态绘制点钢筋标注引线,如下图所示。在派生自DgnElementSetTool的结构中,重写OnDataButton()函数,当记录的点击点大于6时 开始执行BeginDynamic()函数,但是这样的话整个工具连第一步点选元素都不让,直接崩溃。不知道我最后一步动态绘制的过程应该如何实现,是否需要再派生一个DgnPrimitiveTool结构,将DgnElementSetTool中取得的点传入,再动态绘制?还是在DgnElementTool中重写OnElementModify…
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • Get geometry of "Extended Element"

    Allen Chen
    Allen Chen
    我装了 : AECOSi BuildingDesigner V8i (SELECT Series6) 和 MiscroStation库,我想找到API获取“Extended Element‘ 几何数据(type code 106),但是没找到相在API。 有相关资料显示有一个接口:IElementGraphicsProcessor 可以获取几何数据 有哪位知道这个接口是在哪个SDK里,如何下载, 谢谢。 这里是DGN 文件路径 http://download.csdn.net/detail…
    • Answered
    • over 6 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • RE: MDL Loader Error

    Maria Garcia
    Maria Garcia
    Hi Fidel, I recommend you to post this question in the MicroStation programming Forum MicroStation Programming SDK, API, and VBA support for Bentley View, MicroStation, MicroStation PowerDraft …
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Inroads

    HDR_Coder
    HDR_Coder
    Hello again, A large part of my job occurs within Inroads. I have been reading some of the Inroads SDK while working through the MicroStation SDK. I notice that in the examples for Inroads that the code is shown as Visual C++. I see things like handles…
    • Answered
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Retriving Element Information (Coordinates, lavel and type) from dgn v8 file and storing it in text file or csv file.

    ashish chandrakar
    ashish chandrakar
    Hi, i am building an MDL application that can retrive information from dgn file and store it in either text file or csv file. right now i am able to get all the element information but i am not able to write that to text file ( basically stuck in file…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • mdlKISolid_getSurfaceElements() crashes for a particular element, throwing a stack overflow exception

    Ronn Greer
    Ronn Greer
    Hi, I'm currently working with mdlKISolid_getSurfaceElements() in order to split a Smart Solid. But it is throwing a stack overflow exception and finally crashes.I guess this is because of many BSpline curves present in that solid. Can someone help…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: How to load dll in microstation

    Robert Hook
    Robert Hook
    In MicroStation V8i SELECTseries 3 and later it is recommended to create "stub" compilable MDL application projects using the "MDLProjectWizard" or "MicroStationAddInWizard" visual studio projects; located under the MDL SDK VisualStudioWizards directory…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum