Browse By Tags

  • Solid By Extrusion API in Microstation V8i SelectSERIES 2

    Hello to everyone,I'm currently developing a function that tries to do an extrusion of a MSElement, but unfortunately it seems to be harder than I thought. The API that I tried were mdlKISolid_elementToBody and mdlKISolid_elementToBody2 (the newer one…
  • 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…
  • MDL Applications will not load since they are not digitally signed

    Product: MicroStation Version: V8i, CONNECT Environment: N\A Area: Programming Subarea: General Problem When I try to load my MDL applications within MicroStation, I am met with the following…
  • 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 Error: Unable to load library (DLL or MDL Shared Library)

    I am getting an error while trying to use an MDL custom functionality. Please find the attached image below: I am using OpenPlant V8i SS6 along with ProjectWise Explorer Connection Edition 329. We have setup this in our workspace. I have tried to…
  • MicroStation V8i SS4: MS_MDL v.s. MS_MDLAPPS?

    Hi MicroStation Experts, I am using a MicroStation V8i SS4. Anybody know the key difference between the two variables: MS_MDLSPPS and MS_MDL? In help document I saw the description: MS_MDLAPPS (Visible MDL Applications): Search path(s) for MDL…
  • 关于MSV8i的元素描述符

    这里标的#DEN是啥意思,看得不太懂。
  • Batch Process: Attaching Reference with Relative Path

    Hello MicroStation novice here! I have been working with MicroStation and the batch process tool for almost 2 years and have gotten to save us a lot of time doing so. However with all the scripts I was able to make, I could never figure out how to attach…
  • Bulk fillet linestring via script file or VBA

    I am working on viaduct post tensioning & have managed to plot a 3D smart line for the tendons (~700 done automatically) but I am now trying to add fillets to them via a macro or VBA to bulk fillet each line based on a dynamic radius. For example end…
  • Is there an equivalent MDL to "chngtxt" from v7 to v8i?

    Product: MicroStation Version: V8i Environment: N\A Area: Annotation Subarea: N\A Problem Description Is there an equivalent MDL to "chngtxt" from v7 to v8i? Solution In V8i, equivalent…
  • 沿曲线放样如何允许自交?

    老师们好,如上,沿曲线放样如果给出的放样面过大会出现自交现象,但如果实际工程中确实需要一个大的放样面,允许自交情况,那么该怎么办呢。目前发现系统工具中的自交勾上也无法实现,工具直接就报错了。
  • [V8i c++] MDL开发中 如何通过编程给Microstation添加主菜单?

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

    我装了 : AECOSi BuildingDesigner V8i (SELECT Series6) 和 MiscroStation库,我想找到API获取“Extended Element‘ 几何数据(type code 106),但是没找到相在API。 有相关资料显示有一个接口:IElementGraphicsProcessor 可以获取几何数据 有哪位知道这个接口是在哪个SDK里,如何下载, 谢谢。 这里是DGN 文件路径 http://download.csdn.net/detail…
  • 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(…
  • MDL Project Wizard开发MicroStationV8i的.ma 连接Oracle数据库

    求助 如何用MDL Projec Wizard创建的项目连接Oracle数据库? 用的是:VS2005 C++ MDLProjectWizard 2005创建的MFC工程 尝试了采用传统的ADO方式和OCCI的方式去连接Oracle 10g都失败了 ADO方式通过了编译 但是 创建连接失败了 (自己新建的非MDL项目是没有问题的) OCCI 生成失败: 无法解析的外部符号“public:static void __cedl oracle::occi::Environment::terminateEnvironment…
  • Batch Process to Fbx

    您好,我是使用 MicroStation V8i 的使用者,想请教一下有没有办法建立批量转换到fbx 的 batch process呢? Utility > Batch Process 看起来无法支援 fbx 谢谢您。
  • 如何获取和改变一个层的属性

    例如我想改变一个层的颜色 DgnModelRefP modelRef = mdlModelRef_getActive (); MSWChar levelName [MAX_LEVEL_NAME_LENGTH]; wcscpy(levelName,L"test"); UInt32 levelId = LEVEL_NULL_ID; mdlLevel_getIdFromName(&levelId,modelRef, LEVEL_NULL_ID, levelName); mdlLevel_setColor…
  • [V8i MDL] Every second row is black for large images

    Hello, I have a problem that every second row of PNG file is black (RGB 0, 0 ,0). It is generated using these MDL commands: int g_colorMode = COLORMODE_RGB; int g_tileCols = 0; int g_tileRows = 0; int g_fileFormat = IMAGEFILE_PNG; int g_Compression…
  • [V8i MDL] White as transparent color for mdlImage_extCreateFileFromRGB

    I'm using mdlImage_extCreateFileFromRGB to export design file as image with setting Preferences -> Black background -> White set to true. So I have white background in my view. What I need is to set white background to be transparent when exported to…
  • [V8i ss3 mdl] mdlScanCriteria_setRangeTest

    Hi all, I want to scan a part of a model and the same part of an attached reference model. I can scan the whole model and whole reference model. The problem is to scan a part of the model. I tried the functions: mdlCnv_dRangeToScanRange (&scanRange…
  • Retriving Element Information (Coordinates, lavel and type) from dgn v8 file and storing it in text file or csv file.

    Hi, i am building an MDL application that can retrive information from dgn file and store it in either text file or csv file. right now i am able to get all the element information but i am not able to write that to text file ( basically stuck in file…
  • MDL Locate Filter not always being called for mdlState_startModifyCommand()

    I have a command which starts a mdlState_startModifyCommand() which lets you only select line elements. I have set a post locate filter to only accept LINE_ELM types and it all works fine except if you select valid the elements quickly and then…
  • 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…
  • MVBA - mdlLineStyle_getElementDescr

    I'm trying to get all subelements of styled line by mdlLineStyle_getElementDescr by following code... And what I get is only one element of the line style, instedad of all subelements of all droped components. How to do make it work? Paul…
  • 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…