• Add new element to the existing solid element using c#.

    karthik m
    karthik m
    Hi All, I am working with Microstation v8i and Visual studio C#. I am have a dgn with solid element, the solid element having sub elements of bspline curve element as per my client requirement the solid elements should not contain the bspline curve…
    • 8 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Shell Creation

    Karthik M
    Karthik M
    Dear All, I am using Microstation V8i SS3 with c# language. I want to create the shell with 0.3 offset to the Solid element. i am searching the function to do this but i did not get it so any one tell me how we can do this. Thanks & Regards, Karthik…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [ C# ] Difference between MicroStation V8i SELECTseries 10 and CONNECT Edition update 15

    Mervin Bowman
    Mervin Bowman
    Is there a difference for C# MS_INITAPPS to run in MicroStation V8i SELECTseries 10 and CONNECT Edition update 15? Are all of the API calls from the add-in to MicroStation the same in both versions?
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 老师好,我想请问下,在V8i中 addin开发,定制dgnlib和Robbin界面以后,使用V8i task却找不到图标,定制的菜单工具栏却存在。当我点击一次工具后,关闭再次去点击显示已加载,mdl开发的工具却没有问题,这是操作上的问题吗?

    yue yao
    yue yao
    老师好,我想请问下,在V8i中 addin开发,定制dgnlib和Robbin界面以后,使用V8i task却找不到图标,定制的菜单工具栏却存在。当我点击一次工具后,关闭再次去点击显示已加载,只能像开发测试一样,关闭从新打开,mdl开发的工具却没有问题,这是操作上的问题吗?
    • Answered
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • MS V8i SS3 hatch GroupedHole element in C#

    Marek Praski
    Marek Praski
    Hi I cannot find a way to hatch a GroupedHole element in the C# API. To hatch a simple Shape I use the following method public static ClosedElement ShapeHatched() { Application app = Utilities.ComApp; Point3d[] pntArray = new Point3d[4]; pntArray…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation V8i SS3, C#, replacing text in a cell while placing it in a dgn

    Marek Praski
    Marek Praski
    Based on the code here http://www.la-solutions.co.uk/content/CONNECT/DgnPlatformNet/PlaceCell.htm I created a tool for placing cells implementing IPrimitiveCommandEvents. I have some templates prepared in a .cel file. In the placed cells I want to dynamically…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 【MS V8I C#】C#元素标注

    信 王
    信 王
    我需要的功能是 选择元素 然后获取到面积 标注到当前元素的中心 我选择可以获取到面积 我应该怎么去添加标注
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MS V8I C#】C# 鼠标点击元素事件

    信 王
    信 王
    我想实现 鼠标点击一个元素 然后通过获取选择集的方法获取到该元素的ID 然后通过ID去查询 该元素的 面积然后标注到该元素的中心位置 我可以实现通过ID查到该元素 但是我对鼠标事件和获取元素面积这两个有点困难 我看到之前付老师 和郭老师说鼠标需要重新 _OnDataButton 方法 但是具体怎么重新我不太清楚呢 还请各位前辈指点一下
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MS V8I C#】C#获取围删内的元素

    信 王
    信 王
    我想实现获取围删选中的元素 然后通过筛选围删的类型和模式取得想要的数据 然后遍历出来 我选择可以获取选择集元素的属性 我应该怎么去获取围删选择的元素 我不知道应该用那个方法
    • Answered
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MS V8I C#】C# 如何获取属性修改的线段和颜色的集合

    信 王
    信 王
    我想获取到 线性和颜色用于对属性的修改 不知道应该用什么方法去获取
    • Answered
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【MS V8I C#】C# 代码修改元素图层

    信 王
    信 王
    其他属性暂时可以修改 当我修改到层的时候就有点困难了 我应该怎么去修改所在层
    • Answered
    • over 2 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i C#] Active depth between clip front/back

    Nikolai Bo Madsen
    Nikolai Bo Madsen
    I'm currently in the progress of trying to make an application, that handles clip columes and clip front/back, but i have a major problem when it comes to the active depth on the clip front/back view. I've set the active depth using the SetActiveDepthByPoint…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 【MSTN】【C#】【V8i】Extract cellelement based on the shape of an element

    Alisa LI
    Alisa LI
    I drew a CellElement, as shown in the figure, I want to turn it into another shape. This shape is an element created by the CreateShapeElement1 method in the VBA document. Is there any way to realize it, any suggestions would be grateful?
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [MSTN V8i] [C#]Judge four points on a plane?

    Alisa LI
    Alisa LI
    T ake four points at any point. I want to judge whether it is on a plane. My MicroStation version is v8i ss3, Visual Studio version is vs2015 Pro.If there is any way to provide it to me, I am very grateful.
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C#] Add Category attribute to a class programmatically

    Jan Šlegr
    Jan Šlegr
    Hi, in MicroStation V8i (SELECTseries 4), using C# and EC SDK, I am creating EC schema "on the fly" as necessary based on external data source and save it to file (so the schema is not created externally using Bentley Class Editor). I am able to create…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • c#[V8i] 如何将扫描出来的元素从一个当前文件拷贝到新建的文件中

    Ti Huang
    Ti Huang
    各位老师好: 我通过扫描后将元素对象已成功获取,我现在想将该元素拷贝到一个新建的DGN文件的默认model中,我看到有的帖子里说用到ElementCopyContext类,但是我找寻了半天没找到,请问v8i版有这样的方法么?如果没有的话有好的方法实现么?
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [c# v8i] Addin and VBA. RegAsm error.

    Maxim Kulikov
    Maxim Kulikov
    Hi! I'm trying to do my dll (c# addin) available for VBA. I found two articles how to do it: http://communities.bentley.com/products/programming/microstation_programming/f/19569/t/64713 http://www.la-solutions.co.uk/content/DotNet/DotNet-ComServerGuide…
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i MDL C#] Exchange data between Mdl- and C# applications?

    Andrew G
    Andrew G
    I use V8i Ss3 and I develop MDL and C# applications. How can I return value from MDL application (written by me) to my C# application by using Microstation or Windows? I cann`t find standart way in Microstation SDK to return value in C#/VBA apllication…
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MSv8i C# API view vindow position and size

    FlexiTon Customer Support
    FlexiTon Customer Support
    MSv8i C# API: We can manage viewport of a view through Bentley.Interop.MicroStationDGN.View by get_Extents(), set_Extents(...), get_Origin() and set_Origin(...), that's clear. The display state of the window of a view can be managed by IsMinimized, IsMaximized…
    • Answered
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i c#] Linkage

    Sebastian Hallmann
    Sebastian Hallmann
    Hello Community, i could use some help with Linkage in c#. I am searching for a function that is equivalent to the MDL function 'mdlLinkage_extractUsingDescr', or a way to get the same functionality or the same information in a c# Add-In. I didn't…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i SS2 (08.11.07.443) C#] System.Runtime.InteropServices.COMException...

    TMA
    TMA
    I have a C# script designed to scan dgn files in a selected directory and generate a report on the files scanned. The script is written to run outside of microstation and it works fine. The problem is when clients attempt to run more than one instance…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C#] Cancelling XFT LocateOperation on mouse Right-Click

    Nikemundo
    Nikemundo
    Hello! I am developing Addin that uses XFT LocateOperation like this: using XFT = Bentley.Interop.Xft; TextIdentifyFeatureLocateOperation oo = new TextIdentifyFeatureLocateOperation(); XFT.locateOp oLocateOp = new XFT.locateOp(); XFT.InputValue…
    • over 9 years ago
    • Geospatial Programming
    • Geospatial 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
  • [V8i c#] Is there a API to merge two files

    thangaraju s
    thangaraju s
    Is there a API to merge two files Problem : Need API to merge two DGN files or alternative method without using keyins MicrostationDGNApp.CadInputQueue.SendCommand("DIALOG REFERENCE TOGGLE "); MicrostationDGNApp.CadInputQueue.SendCommand(…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation v8i (Select Series 2) & C# ADDIN : Extracting Database Connection Properties

    bjasti
    bjasti
    Hello All, Can we extract spatial database connection properties from the opened DGN programmatically. I would like to retrieve service name, schema name and password if it is possible. Thanks
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
>