Browse By Tags

  • Adding Windows Forms to Add-ins

    In this part, we will introduce how to use the Modal dialog box , Modeless dialog box , Tool Settings dialog box , and Dockable dialog box in MicroStation. Modal, non-modal, and docked dialogs are used in various applications. The tool settings dialog…
  • [C++ MICROSTATION CONNECT U15] issue with mdlMinDist_betweenElms since UPDATE 15

    Hi everyone, When we migrate our application from V8i to connect we found the mdlMinDist_betweenElms dot does not work as intended. in V8i we use mdlMinDist_betweenElms for example a cell and a line, but since CONNECT it does not work anymore. So…
  • Run and debug Add-ins

    Add-in s are based on .NET Framework t hus, you can use C#, C++/CLI, or VB.NET language to develop the Add-in s application . NET assemblies dll once loaded cannot be unloaded like in the case of Native Code. So, if we modify the source code of the .NET…
  • Custom move element tool is not fast as the built-in Microstation "Move extended" when hundreds of elements are manipulated[V8i MDL]

    Hello! It´s me again, with a question. I´m currently working with a Microstation V8i SS4 version, where I needed to add my own functionality to the move tool, so I´ve decided that I will implement myself it with MDL API, as VBA didn´t offer me the things…
  • add a reference that should be translated and clipped

    How exactly can i get the modelRef after begin attachment ? I'm trying with: modelRef = builder.GetDgnAttachmentCP()->GetDgnModelP(); but the reference is not translated nor clipped, so i suppose that's the problem (the only difference from v8i…
  • [CONNECT] set callback function when KEYIN queue element processed

    I develop plugins for the OpenCities Map PowerView CONNECT Edition application with C++. From one of my plugin I use the mdlInput_sendKeyin() function to trigger a feature in another plugin developed by me also. I want to log every keyin commands which…
  • Detecting a Cached Saved View Attachment in MicroStation CONNECT

    Hi All, I have some legacy VBA code from v8i that I'm trying to port over to the CONNECT versions - it's using a CExpression with a pointer into the referenceFile struct for a specific reference: Private Declare PtrSafe Function mdlRefFile_getInfo…
  • CE Update 13: Porting from MDL V8i. Programmatically add menu

    I'm currently porting 100+ applications for V8i written in MDL to native code (C++). Most of these applications are launched by selecting the corresponding item in the pulldown menu (see attached screenshot; Italian version) This menu is programmatically…
  • How to activate particular parametric set/variation?

    Microstation Connect Edition Update 14 - C++ Native - SDK In a particular model, I have added one variation/Parametric set using API - (IDgnComponentDefinitionModelHandler) -> CreateParameterSet(). I have also created associated variables with this…
  • IT

    开发环境VS2013,配合CE Update 4进行MDL开发。手工建立VS项目时,需要 建立批处理文件MakeMa.bat,内容为 CALL "%MSV8i%mdl\bin\mstndevvars.bat" "%MSV8i%" "%MSV8i%" CD /D "%ProjectDir%" bmake,但是在 CE SDK Update 4中找不到mstndevvars.bat文件,请问该怎么解决?
  • How to dynamically call the DAT/EM Button manager system Mouse configuration in MicroStation VBA?

    In the summit evolution software, draw only 2d point hight (z value) in the MicroStation v8 but using the summit evolution software the below options are set manually in the software. and then I will pick any point on the map it should move to 3d point…
  • MDL Constraints

    Information on the MDL 2d/3d Constraints APIs. Constraints3d API ConstraintsAPI_3d.pptx
  • Tooltip for DItem_TreeRsc

    Hi, In V8i SS4/SS10 is there a way to disable the default tooltip this item shows automatically when a text doesn't fit into the tree cell? Our customer wants us to show a different tooltip, what we can do in the case the cell text fits. But it it…
  • How to load project and run macro in MicroStation CONNECT Edition using vb.net?

    I need to load and run a .mvba file in MicroStation CONNECT using vb.net. I used the below code but its only worked in MicroStation v8. Do I need to install any other supporting files or to change the below code for execute the below key-in command in…
  • 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…
  • C++ Connect mdl/dll programming

    I have written and compiled an mdl/dll for Connect. The example code in the SDK download have really helped! I am using the Session Monitor to run functions that write information about the file into the Message Center. The functions in the mdl run once…
  • 关于MSV8i的元素描述符

    这里标的#DEN是啥意思,看得不太懂。
  • 【MS CE updt13 C++】放置sharedcell的问题

    我自己绘制了一个椭球体作为一个shared cell元素放在一个cel文件的model中,。 新建一个dgn文件,我打算使用mdl函数: mdlSharedCell_create,mdlSharedCell_makeSureDefExists,mdlSharedCell_setRange等将这个cel放置在我新建的dgn文件中; 我发现处理二维的cell元素都没问题的,处理三维的cell元素;画不出来对应的椭球体cell元素;全选发现有元素个数,但是fitview没有元素显示;使用MS自带的工具就不能放置地层界面点或者构造点shaerdcell…
  • [V8i MDL] "Move element" keyin

    Hi, Having problem figuring out how to send a "move element" keyin from a pushbutton on a dialog. This is the resource definition: DItem_PushButtonRsc PUSHBUTTONID_MoveFlag = { NOT_DEFAULT_BUTTON, NOHELP, MHELP, NOHOOK, NOARG, CMD_MOVE , MCMD, "element…
  • [MSCE C++] 请问怎么从ElementRef或者EditElementHandle 查找这个元素属于哪个参考文件,从而获得参考文件的Transform

    已经找到答案,解决问题了,谢谢!
  • 关于LocateSubEntityTool的交互疑问

    请问老师们,想实现以下操作,请问大致需要重写访问到哪些虚函数,谢谢。 需求:想利用LocateSubEntityTool写一个自己的工具,以实现先后选中两个实体的两个侧面,然后对这两个侧面进行一些几何上的操作。如图: 比如将这两个面以形心互相垂直放置等操作
  • [V8i MDL]

    Hi, I have a native code MDL program for V8i with a dialog box on which I defined a pushbutton dialog item to send the MicroStation CMD_EXTEND_LINE key-in command. The problem is that it doesn't send the command at all. However, when I change the command…
  • [MSCE C++]关于Parametric Solid局部修改的问题

    StatusInt ParametricSolidModifyTool::_OnElementModify (EditElementHandleR eeh) { ... if (SmartFeatureElement::IsSmartFeature(eeh)) { SmartFeatureNodePtr tree; if (SUCCESS == SmartFeatureElement::ExtractTree(tree, eeh)) { T_SmartFeatureVector…