Browse By Tags

  • [ORD 10.12, C#] Updating Nested Attachments value using C# API

    Hello. I changed Nesting Depth of Attachment using C# API. In Reference dialog, Nesting Depth value is changed but display don't update. After I change Nesting Depth in reference dialog, display is updated. Let me know how to update display after…
  • 三维填充类似函数或碰撞剪切函数相关

    目前构建实体过程中,周围存在多段路径构建实体,想在实体包围范围内生成一块实体进行填充。 示意图如下:中间为想生成实体的截面,直接进行截面沿轴线拉伸,实体间存在重叠冲突等。 考虑拉伸生成实体后与周边元素进行自动剪切,但可能存在周边元素不易获取问题。 疑问是否有三维填充类似函数,或其他检测冲突进行剪切的函数方法?
  • c# 使用ElementGraphicsProcessor工具 普通实体和智能实体三角化后网格比例不同

    我这边MS的版本是update14,使用.net开发 在试用ElementGraphicsProcessor工具对元素进行三角化时,我发现对于普通实体和智能实体三角化后比例会不同,如下是测试代码 private MeshTest(System.IntPtr mdlDesc) : base(mdlDesc) { MeshToolTest tool = new MeshToolTest(); List<Element> els = new List<Element>(); …
  • C#鼠标右键如何获取光标位置和对应视图

    右键点击进入后如何获取到光标实际位置
  • [v8i][c#] get arc element's vertex list

    Hello everyone, I want to get arc element's vertex list or coordinate list, it always return error when I tried to use AsVertexList() function. Please give me some advices. Thank you so much!
  • [C#, ORD 10.12] To change the display style of Eement.

    Hi. I need to change the display style of a element to wireframe. My goal is that view and element have different display style. Do anyone know how to do change display style of element in C# API? Thank you.
  • 关于调用Bentley.Interop.MicroStationDGN的CreateCellElement2函数导致ORD内存溢出的问题

    各位老师好,我们开发了一个铁路车站建模系统,包含很多类型的设备。 有几种设备(车挡、警冲标、信号机等)都是调用CreateCellElement2函数进行建模。 建模函数如下: public static Element CreateNormalCell(string dgnPath, string cellName, BIM.Point3d point, BIM.Point3d scalePoint, BIM.Matrix3d matrizIdentidad, bool isAddToModel…
  • C#后台代码添加了窗口停靠,但是有时候就不能停靠

    ,有时候 会失效无法停靠
  • 如何C#右键点击视图2获取到点的位置(X,Y,Z)

  • 如何C#修改菜单隐藏显示

  • 怎么通过C#代码来添加配置变量

  • MicorStaiton使用C#编程建立约束

    请问MicroStation中如何使用C#建立约束?是否可以提供参考代码? 查了SDK的Example,只有C++的例子constraint2ddemo,里面 需要使用Constraint2dManager::AddSolverData方法把Constraint2dSolverData添加进去,但是.net API中的Constraint2dManager只有AddConstraint(ElementAgenda elements, Constraint2dType consType, int…
  • sustainable way for Microstation CE add-in/MDL to be deployed to shared network directory?

    Hi Everybody, I am studying in migrating a set of Microstation MDL files working on Microstation V8i SS10. In the current system, the MDL (.MA) files are deployed in a network folder. With the configuration of MDL directories, they can be loaded by…
  • [V_08.11.09.357][C#] scan IsVertexList elements only

    Hello everyone, As the subject I mentioned, I want to scan IsVertexList elements only when using ElementScanCriteriaClass, is it possible to be done? Thank you.
  • Copy all cells from one dgnfile to another using C#

    Hi, I would like to loop through all cells from one dgnfile and copy them to another dgnfile. I now have a script that opens a seedfile, so I have two dgnfiles open. One source dgn and one target dgn. The target one is a 2D seed file, because I just…
  • Multiple c# addins with multiple versions of assemblies

    We developed several addins for one of our customers in c# with net 4.6.2. Because the addins have individual importance for the customer, some addins don't receive a lot of update. This leads to an situation that some addins use newer version of assemblies…
  • C#如何修改界面停靠窗体的名称【MicroStation CONNECT Edition】

  • 通过ElementId来删除视图中的值

  • [V_08.11.09.375][C#] Get All Layers And Elements From Each Layer

    Hi guys, I'm new to Microstation Programing, I have some task but still don't know how to done, please give me some advices. I want to get all Layers from DGN file and convert Layers to an array, then I want to get all Elements from each Layer then…
  • 自制图标无法显示

    这个图标选择后,图并没有显示出来
  • 如何获取视图滑动时左右两边的点

    获取VIEW1的左右两点,和view视图的左右两点
  • C#按钮显示隐藏

    C#怎么设置指定位置按钮的显示隐藏
  • Selecting non graphical Item using C# Addin

    I've been working on migrating some of our in house data sets over to these item sets, I've managed to get about 80% of the required functionality done, there's just a few finishing touches I'm working on to make it a bit more seamless Import custom…
  • 指定元素复制到不同视图中

  • 不同视图划线

    用 划线在