Browse By Tags

  • [CONNECT Update 10 MDL] - Need help migrating MDL to connect edition, its not working

    Hello Everyone, Our organisation have just upgraded our MicroStation v8i SS3 to MicroStation Connect edition version 10.10.00.23. I am having trouble with my v8i MDL apps since its not working in my connect edition. I am not a programmer and although…
  • Get the count of elements currently selected using VBA

    Hi all, I would like to get the count of the number of elements selected in MicroStation VBA. I have already used a scan criteria to get the elements I want. Now the issue is that I would then iterate through the selected elements using the ElementEnumerator…
  • In Microstation V8i, is it possible to use a native MDL program (.ma + .dll) as a shared library and how?

    Hi, In pure MDL, dls file specification (see below) allows to call functions in MDL program (used as Shared library) from another pure MDL program. How may this be done between two "native" MDL programs? Thanks for help Best regards, Jean-Claude…
  • [Microstation V8i] MDL Mesh Functions in VBA

    Hi All, Can anyone give me an example of how to use the MDL mesh function mdlMesh_getPolyfaceArraysDirect. I'm struggling to understand how to pass the int and point3d arrays into the VBA decleration as Longs. Declare Function mdlMesh_getPolyfaceArraysDirect…
  • [Microstation V8i] Declaring MDL Functions in VBA

    Hi all, I'm trying to use the MDL functions within VBA so I've tried starting with something simple. Public Sub MdlIdTest() Dim element As element Dim elementId As DLong elementId.Low = 620 Set element = ActiveModelReference.GetElementByID…
  • [v8i MDL] How can I export the DGN default model to an image file without open the DGN?

    Hi, I'm programming with pure MDL (it's a huge application not migrated yet to C++) over MicroStation and Bentley Map SS4. I need to create programmatically an image file (JPEG, BMP or similar) from the default model of a DGN, but without open the…
  • Las file loading without converting into pod

    Hi Team, Programmatically can i load las file directly into MicroStation V8i (SELECTseries 4) Version 08.11.09.829 without converting into pod format ? Thank you, B Daniel.
  • How can I set the display style for a reference using MDL/MicroStation API?

    Hello, in MicroStation I can do this ... Select "Set Reference Presentation": and then I can change the "Display Style" How I do this with MDL? Regards, Wolfram
  • How to modify Vertices in LineString (3D) with MDL

    Hi everyone, I am trying to write an MDL for Microstation V8i (Select Series 4) which should transform the heights according to a certain height-modelling for different element-types. I am using a Loop over all graphical Elements with a callback-function…
  • How to encapsulate this function: mdlKISolid_makeSweptBody into C# formal properly ?

    Hi, everyone, I want to use this function: mdlKISolid_makeSweptBody in my C#/Addin project. It is an undisclosed function, its declaration in my pure mdl project is below: extern int mdlKISolid_makeSweptBody ( KIBODY **ppBody, /* <= swept body */ KIBODY…
  • how to place or set up a parametric cell by mdl or c# ? in abd or v8i

    I know that MSCE update 9 has provided a class of parametric cell to do this, but i can't solve this problem in v8i! i can find the most relative message is this title , using the lib of triforma, but it's also not clear for me. thank anyone here.
  • 【MS V8i 】MDL编程如何对有坐标系的链接点 进行精确捕捉定位

  • Get Element Angle Tool

    Is there a tool which works in Microstation Connect which rotates elements to specific angles? I had one for V8i but it won't load into Connect.
  • 【C# mstn V8i Addin 】Get the user's Toggle AccuDraw coordinate system. And then change the three-dimensional perspective of my painting CellElement.

    I want to get the user's Toggle AccuDraw coordinate system ( Toggle AccuDraw coordinate system through the shortcut keys such as T, F, V, S, etc. is not the ACS auxiliary coordinate system), change the Toggle AccuDraw coordinate system, and then change…
  • mstn V8i Addin根据临时坐标系旋转CellElement,并能按照临时坐标系中的某一个轴动态旋转

    各位大神!我用Addin的方式画了一个CellElement后,想根据临时坐标系旋转我的 CellElement并能按照临时坐标系中的某一个轴动态旋转,应该用哪些方法。谢谢! 我用了以下方法,然而CellElement并没有旋转,请大家帮我这个小白看看! mdlCurrTrans_begin(); mdlCurrTrans_getTransforms(ref pMdlToUor, ref pUorToMdl); mdlCurrTrans_rotateByRMatrix(pMdlToUor…
  • [Microstation V8i Select series 4] mdlKISolid_faceData()

    Hi All, I am trying to use the below MDL API to get the data from a face. I have got this face with a smart solid using the API mdlKISolid_getFaceList(). I use C++ language. mdlKISolid_faceData( KILOOP** loop , KIFACE** next , void** surfacePP …
  • [v8i ss3 MDL] mdlKISolid_satDataFromElement hangs and never returns.

    Hi, I am using Microstation ss3 v8i. I am trying to use the API mdlKISolid_satDataFromElement() to get sat data out of a smart solid element. For most of the smart solid cases it's working as expected but for a particular element, API hangs and…
  • Compiling MDL and determining what files are used

    I'm back with more questions!!! Just to recap, back into the MicroStation world with very limited MDL experience and trying to determine what files I need to keep and subsequently put into our source code database. So I created a blank folder structure…
  • Shape triangulation.

    I use microstation V8i (SS3) and programming in MDL. I have shape element in 3D, this shape is non coplanar. When add fill: After use function: mdlMesh_newPolyfaceFromXYTriangulation mdlMesh_convertToShapes I received: Blue triangle…
  • [v8i MDL] Can I use 'new' instead dlmSystem_mdlMalloc to dynamically allocate memory for an array of DPoint3d?

    Hi All I've been using the 'new' operator to allocate vectors as follows: DPoint3d *pnts = new DPoint3d[_size_]; ........ delete [] pnts; My question is: is it safer to use dlmSystem_mdlMalloc and dlmSystem_mdlFree to allocate and free memory…