• [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…
  • 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…