Browse By Tags

  • [Connect Edition Update 17 & vba] How rewrite the following code line with SetXExpressionValue for Microstation Connect

    Hi everyone, I am looking into old code (from V8I) and I am trying to make the old code applicable to Microstation Connect. When I run the code, it skips the following line and goes directly to the error statement. SetCExpressionValue "s_vctrlPrefs…
  • Copy all cells from one dgnfile to another using C#

    Hi, I would like to loop through all cells from one dgnfile and copy them to another dgnfile. I now have a script that opens a seedfile, so I have two dgnfiles open. One source dgn and one target dgn. The target one is a 2D seed file, because I just…
  • [CONNECT 10.16.3.31] How to export cells to fbx via C# / MDL?

    Hi, I'd like to create a MicroStation add-in to export cells as separate fbx-Files. The provided DGN file show quite a lot of references, nested up to 4 levels. The cell library originally used is not provided. I think enumerating/scanning the cells …
  • Changing linestyle of a single line in complex chain/complex shape

    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…
  • [MSCE 10.16 c/c++] How to define camera plane

    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…
  • Microstation Connect MDL Edit Tags in a Descriptor

    Hello: I have an issue related to edit tags using MDL on MS Connect. I'm trying to edit a tag attached to an existing cell. It is the code I'm using but I think something is missing. int can_tag = 0; int suma = 0; DgnTagValue val_tagm; DgnTagSpec…
  • [CONNECT C++] What a substitute for tcb->directionFormat_deprecated ?

    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…
  • Need help with vb.net ustation.dll pinvoke declaration

    Any suggestions on how to get the mdlSystem_setBatchProcessingState (ustation.dll) pinvoke declaration to work in vb.net? I keep getting the "Unable to load DLL 'ustation.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E…
  • log4net error when calling mdlSystem_newDesignFile in MicroStation 10.15.00.74

    All, We have a legacy MicroStation application which has been problem-free but which was recently tested running on MicroStation 10.15.00.74. The application runs as an INITAPP and never calls mdlSystem_enterGraphics. Upon calling mdlSystem_newDesignFile…
  • Microstation CE addin / How to show a cell element in .net windows form

    hello, I'm trying to show an isometric view of cell element with ElementPreview control into a windows form with no success ! Nothing is shown into the ElementPreview. Here's my c# code extracted from my Microstation CE addin. Can you please advice…
  • 关于MS connected版本的渐变色填充

    MS ce版本开发,想对一个元素使用渐变色填充,比如使用彩虹色填充,在帮助文档中找到 AddGradientFill ( EditElementHandleR eeh, GradientSymbCR symb),这个函数,但是不知道这个函数怎么使用,关于 GradientSymbCR 的描述非常少,不知道里面的函数SetKeys()等怎么用。可否提供一段样例代码学习下?
  • Custom Menu Item in CONNECT

    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…