Browse By Tags

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

    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…
  • Ways to deploy my DLL to Microstation MA file

    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.
  • [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…
  • 【MS v8i c# c++】如何切换V8i的工作空间的project

    v8i如何实现在打开dgn文件之前,切换到正确的工作空间。 像CE下的有workspacemanager能做到切换workset,那么如何在v8i下实现切换project呢?
  • 【ms ce v8i c++】如可让ms 对话框的绘制在后台缓冲区完成?

    我需要实现一个比较当前对话框画面的功能,流程如下 1.mdlElmdscr_extendedDisplayToWindow // 加载原始图像内容 2. mdlElmdscr_extendedDisplayToWindow // 清空原始图像内容,加载比较图像内容。与原始图像内容差异大 3.mdlWindowd_capture // 快照比较图像内容 4.// 对快照图像内容处理 5.mdlElmdscr_extendedDisplayToWindow // 重新加载原始图像内容…
  • 在V8i中打开dgn文件时出现以下错误

  • 【ABDV8i C++】 字体颜色怎么设置?

    请问老师,TextNode的字体颜色要怎么设置,我这样设置都没有任何效果 //txtParams是TextParamWide类型 txtParam.backgroundFillColor = 252; txtParam.color = 252; txtParam.backgroundColor = 252;
  • [MSV8i C++]有没有mdl函数来实现修剪实体工具的操作

    类似的有mdlKISolid_booleanDisJoint可以做剪切,但用起来有点麻烦,请问一下有没有修剪实体的函数直接可用啊???
  • [V8i c++] MDL开发中 如何通过编程给Microstation添加主菜单?

    通过翻找之前的帖子我知道了如何通过DGNLIB定制Microstation菜单。 我想请教一下各位老师,是否可以通过编程的方式完成菜单添加。我想实现----通过安装该插件就可以自动在Microstation中添加对应菜单的功能。
  • Point3dInPolygonXY returns error in C#

    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(…
  • [V8i API] Create text element with non-existing font name / generate font number of missing font by name

    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…
  • Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    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…
  • File Exchange Lock Issue

    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…
  • KIEDGE VS KICOEDGE

    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…
  • Help for API to fetch DGN V8 DRV data records for an Element.

    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?
  • [V8i C++] Is Visual Studio 2005 still the preferred way to go?

    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…
  • Procedure to build first MicroStation DLL

    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…
  • [V8i C++] MicroStation V8i SELECTseries 2 MDL coding

    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…
  • Native Dialog and MFC support

    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…
  • How to append MDL dependency linkage with an element in external reference ?

    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…
  • Delete and modify XData fields (V8i, cpp)

    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…
  • Coloring solids and surfaces without using materials (C++, SS2)

    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…
  • Reading cell library

    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…