• [CE MDL/C++] Problems with mdlElmdscr_stroke

    EvanH
    EvanH
    Hi I want to stroke a complex chain element and into an array of points. In V8i I used the function mdlElmdscr_stroke: #define SCALE (mdlModelRef_getUorPerMaster(MASTERFILE)) if (mdlElmdscr_stroke(&pptdPts, &iVertices, pedCurve, 2.0 * SCALE) == SUCCESS…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT Update 17 C++] MDL load error in MicroStation Update 17

    Jesper Stahl Madsen
    Jesper Stahl Madsen
    Hi! I have a native MDL application that runs perfectly in MicroStation Update 16, but in MicroStation Update 17 I get a MDL loader error 127 I'm using the latest MicroStation SDK when compiling the application. I have other native MDL application…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Changing linestyle of a single line in complex chain/complex shape

    Lubo B
    Lubo B
    Hello guys! After a long time of silence I came up with another question. I remember i had question similar to this behavior, but that was for V8I version. Lets say i have a complex chain consisting of multiple lines. Now i want to modify linestyle…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Setting up VS 2017 C++ project for debugging

    Daverode
    Daverode
    I'm trying to setup a vs 2017 c++ project to debug a MDL project I created with Microstation SDK Command Utility. I'm using Promis.e Connect Update 10 (Latest Build). I'm not 100% sure what version of Microstation that translates to, but the add-ins…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [MSCE 10.16 c/c++] How to define camera plane

    Oscar Veigas
    Oscar Veigas
    Hi , I'm writing an application that uses a camera that is modified (oriented) through user interaction, using mdlView_SetCameraParameters. So far so good, but by default focal plane is always perpendicular to camera axis, and I need to orient…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] What a substitute for tcb->directionFormat_deprecated ?

    Hubert Gajewski
    Hubert Gajewski
    I would like to toggle the file settings contained in the Bentley::DgnPlatform::DirFormat structure, but tcb->directionFormat_deprecated is not supported. Is there any way to modify the parameters in C++ or Key-In: DirFormat.baseDir DirFormat.flags…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C++ MicrostationApi] Create new Workset with the c++ Api

    Manuel Höger
    Manuel Höger
    Hello, I'm trying to create a new Workset in an existing Workspace. At the moment I can successfully load The Workset List of the existing Workspace. But then I don't really know how to proceed. The Code I tried is : //This is Working: DgnDocumentMonikerPtr…
    • over 2 years ago
    • Developers and Programming
    • Developers and Programming Forum
  • [Connect Update 15 c++] Is there a way to draw a uneditable shape except through your UI dialog box?

    amender carapace
    amender carapace
    I want to draw a object and make it unable to be altered by other tools expect through the UI I provided. For example draw a box with a trailing line segement fixed at certain angle to the rectangle. I do not want anything including the size of the…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Get and Set ACS

    Ole Gottwald
    Ole Gottwald
    Hello, In the SDK is the example "ViewInfoExample". I build it, but it's not working correctly. If I change the Origin of the ACS in any View, the "View Info Description" doesn't show this change. Closing and reopening these windows doesn't help.…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Load MDL app on Application Startup (MS_INITAPPS)

    Rajesh Varatharajan
    Rajesh Varatharajan
    I am facing some issues in Successful loading MDL apps on Startup. I have modified code as below and loaded MDL app. if (strcmp(l_str_argument.c_str(), "MS_INITAPPS") == 0) { mdlSystem_enterGraphics(); mdlInput_sendCommand(CMD_DIALOG_OPENFILE…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] Editing a text element from its eeh

    Topaz
    Topaz
    Greetings, I'm currently struggling with some text modifications (C++ MDL, Microstation Connect Edition). I'm importing text elements from a DWG file into Microstation. I'd like to change some of their attributes before adding them into the DGN active…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Hook File Pre Open Dialog

    jmdsgcv
    jmdsgcv
    Hi, Is there a way to hook File Pre Open Dialog in Microstation CE Update 14 ? it seems that InputCallback::SetFileOpenDialogPreFunction is not defined in SDK Update 14 include files. in Microstation 8i this was done with mdlInput_SetFunction(INPUT_FILEOPENDIALOG_PREPROCESS…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • TextBlock Enter-data-field in C++

    Dilip Bhandarkar
    Dilip Bhandarkar
    Hi, I am using Microstation Connect Update 12 along with the Update 12 SDK on Windows 10. The various components of TextBlock are difficult to understand without proper documentation besides MicrostationAPI documentation. Although we are going to…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 关于MS connected版本的渐变色填充

    GreatApophasis
    GreatApophasis
    MS ce版本开发,想对一个元素使用渐变色填充,比如使用彩虹色填充,在帮助文档中找到 AddGradientFill ( EditElementHandleR eeh, GradientSymbCR symb),这个函数,但是不知道这个函数怎么使用,关于 GradientSymbCR 的描述非常少,不知道里面的函数SetKeys()等怎么用。可否提供一段样例代码学习下?
    • over 6 years ago
    • MicroStation Programming
    • [Archived] 中国BDN社区 MDL/C/C++
  • 在Connect版本中ITransactionHandler怎么用?

    建城 杨
    建城 杨
    我需要在某些元素被修改或删除时激活一些操作,因此继承了ITransactionHandler类并重写了_OnModified() 方法,但是如何将 ITransactionHandler 注册并 Add 到元素上?在v8i版本中可以通过 IElementHandlerManager 来实现,但是Connect版本中 IElementHandlerManager 没有了
    • over 6 years ago
    • MicroStation Programming
    • [Archived] 中国BDN社区 MDL/C/C++
  • Custom Menu Item in CONNECT

    rinedge
    rinedge
    Hey everyone! So, I have a working MDL (written in C++) set up with Connect that provides functionality where I can intercept and basically override certain commands with my own functionality. In some cases, this functionality is launching an outside…
    • over 7 years ago
    • MicroStation Programming
    • [Archived] 中国BDN社区 MDL/C/C++