• Saving a custom variable inside a DGN file, so I can read it later during the opening [Microstation V8I MDL API]

    Lubo B
    Lubo B
    Hello everyone! I´m currently developing a little mechanism to do checks on my DGN files, and I would like to save a variable value (for example bool) into a DGN file. I mean like, value of my variable will be persisted with the DGN file itself. So…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Ways to deploy my DLL to Microstation MA file

    Ajomon George
    Ajomon George
    I am trying to find a way to deploy my dll built in c++ to my microstation application. Could you please suggest the steps to deploy it and convert to microstation ma and dll file? I am using Micrstation v8i SS6.
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [MDL v8i]请问,SHARED_CELL_ELM物体的材质、贴图定义,如何获取

    伟 迟
    伟 迟
    SHARED_CELL_ELM物体的材质应该如何获取? 用Bentley::Ustn::ElemDisplayParams::GetElemDisplayParams获取到 m_materialIsAttached = false m_rendMatID = 0 代码如下: ElemHandle eh = ElemHandle(pElemDescr->h.elementRef,modelRef); Bentley::Ustn::Element::DisplayHandler* pDisplayHandler…
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MS v8i c# c++】如何切换V8i的工作空间的project

    yl fan
    yl fan
    v8i如何实现在打开dgn文件之前,切换到正确的工作空间。 像CE下的有workspacemanager能做到切换workset,那么如何在v8i下实现切换project呢?
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【ms ce v8i c++】如可让ms 对话框的绘制在后台缓冲区完成?

    yl fan
    yl fan
    我需要实现一个比较当前对话框画面的功能,流程如下 1.mdlElmdscr_extendedDisplayToWindow // 加载原始图像内容 2. mdlElmdscr_extendedDisplayToWindow // 清空原始图像内容,加载比较图像内容。与原始图像内容差异大 3.mdlWindowd_capture // 快照比较图像内容 4.// 对快照图像内容处理 5.mdlElmdscr_extendedDisplayToWindow // 重新加载原始图像内容…
    • Answered
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 在V8i中打开dgn文件时出现以下错误

    hao huanghao
    hao huanghao
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【ABDV8i C++】 字体颜色怎么设置?

    Shuai Li
    Shuai Li
    请问老师,TextNode的字体颜色要怎么设置,我这样设置都没有任何效果 //txtParams是TextParamWide类型 txtParam.backgroundFillColor = 252; txtParam.color = 252; txtParam.backgroundColor = 252;
    • Answered
    • over 4 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [MSV8i C++]有没有mdl函数来实现修剪实体工具的操作

    yl fan
    yl fan
    类似的有mdlKISolid_booleanDisJoint可以做剪切,但用起来有点麻烦,请问一下有没有修剪实体的函数直接可用啊???
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i c++] MDL开发中 如何通过编程给Microstation添加主菜单?

    jie liu
    jie liu
    通过翻找之前的帖子我知道了如何通过DGNLIB定制Microstation菜单。 我想请教一下各位老师,是否可以通过编程的方式完成菜单添加。我想实现----通过安装该插件就可以自动在Microstation中添加对应菜单的功能。
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • Point3dInPolygonXY returns error in C#

    Dale
    Dale
    I am trying to determine whether or not a text element (or e shape) is placed inside a shape/complexshape. No matter what I try, I get an error. Here is the code: Point3d pText = eleText.get_Origin(); Array psShape = e.AsShapeElement.GetVertices(…
    • over 6 years ago
    • MicroStation Programming
    • [Archived] 中国BDN社区 MDL/C/C++
  • [V8i API] Create text element with non-existing font name / generate font number of missing font by name

    DanPaul
    DanPaul
    Hello, is there a way to create a text element with font that is not currently available? Let's say I need to create a text element which uses 'simplex' font in first version of MicroStation V8i where normally is installed only one SHX font - 'msdefault…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    dgutierrez
    dgutierrez
    Thank you both Jon and Jan. I've got some expertise in programming C# applications and I have already some developments for MicroStation, so I would like to try invoking the MDL API from C#. Nevertheless if it were necessary, I could also try to…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • File Exchange Lock Issue

    paralee
    paralee
    I have a microstation .dgn file which has references attached to it. When I perform an exchange to one of these files Microstation immediately locks the file before any of it input commands get fired. My MDL Plugin code wants to ask the user if…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • KIEDGE VS KICOEDGE

    Guanghe Li
    Guanghe Li
    hi,guys Can any of you explain the difference between KIEDGE and KICOEDGE? What I want to do is to get faceIDs after calling mdlKISolid_slice. First, I call mdlKISolid_getEdgeList(bodyList, slice), then, from each body I can get each face…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Help for API to fetch DGN V8 DRV data records for an Element.

    Manu Agarwal
    Manu Agarwal
    I am working on DGN V8 APIs. Here I am stuck to fetch the corresponding .drv file record data for a DGN Element. What are the APIs that can be used to get this data from .drv file?
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C++] Is Visual Studio 2005 still the preferred way to go?

    Andrew Lowe
    Andrew Lowe
    Hi all, I started doing MDL programming about 20 years ago but for the last 5 - 6 have only touched it "once in a blue moon" to update for some clients apps that still run on "old" MicroStation, pre V8. One of my clients now wants one of these apps…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Procedure to build first MicroStation DLL

    lingam Rajendran
    lingam Rajendran
    Hi, I am a new bie to MicroStation SDK. I am using MicroStation V8i(select series 2). MicroStation V8i(select series 1) SDK. I have created a dll using C++. May i can know the process to build .mke and .ma files to load in…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C++] MicroStation V8i SELECTseries 2 MDL coding

    Gary Shay
    Gary Shay
    Hi all - new member, new to v8i I'm a programmer who created complex MDL (3d wireframe) models prior to taking an 8-year assignment in our IT group. I have also created dozens of utilities for designers to use, all using the old-style MicrostationJ…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Native Dialog and MFC support

    Keith Martyn
    Keith Martyn
    I'm doing native code MDL development using C++ and VS2008 and Microstation V8i (08.11.05.17) I'm a dotnet developer and now a the basics of MFC and Win32 programming. I am trying to understand the difference between native window and MFC dialog…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to append MDL dependency linkage with an element in external reference ?

    y_mori
    y_mori
    Hi. If you know the solution of following matter, please kind someone teach me. When an element in external reference file be appended to an active node element as MDL dependency linkage, I failed to set the valid refattid member. Now, I investigate…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Delete and modify XData fields (V8i, cpp)

    Tuspe
    Tuspe
    I would like to store some information to XData fields, so it could also be saved to AutoCad models. From the mdl API I have found functions to save and read XData but how can I delete or modify certain fields? Lets say for example that I want to save…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Coloring solids and surfaces without using materials (C++, SS2)

    Tuspe
    Tuspe
    Hi, Is it possible to color solids and surfaces with rgb values calculated from custom functions without using textures? I would like to have a pipe which temperature is calculated online and shown on it. Something like this on a surface: http://en…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Reading cell library

    frlar
    frlar
    Hi I have a problem reading a cell library that contains cells built up by cells. And the problem only is for cells, no other element types. When I read the library my callback function from the scan critera gets these elements: From cell 1: shape…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum