• [CONNECT .NET] Get In-Memory Element from COM Impossible

    I want to get a .NET Element from a COM Element ... using Bentley.DgnPlatformNET; using Bentley.DgnPlatformNET.Elements; using Bentley.MstnPlatformNET; using BCOM = Bentley.Interop.MicroStationDGN; Element GetElementFromComElement (BCOM.Element oElement…
  • [CONNECT Update 13 C# ] Convert Point3d to DPoint3d?

    Hi, Is there a way in C# to convert a Point3d value to DPoint3d? using BCOM = Bentley.Interop.MicroStationDGN; using BG = Bentley.GeometryNET; BG.DPoint3d dPoint3d = default(BG.DPoint3d); BCOM.Point3d point3d = default(BCOM.Point3d); ??? Thanks…
  • Get information from primitive solids or should i convert them to smartsolids?

    Hi folks, i'm trying to get various information from some primitive (slab) solids. For example i use this code to get the center details. public static Point3d GetCenterOfGravity(Element element) { Transform3d transform = new Transform3d(); Point3d…
  • Get text strings from tags associated with an element and place text strings in order in a new text node element

    The goal of this routine is to get tag data that is associated to an element and then to translate each tag value into a line of text in a new text node to be placed once all of the tag data has been collected. I'm stuck on how to get the tag…
  • Drop a LineStringElement to a series of LineElement(s)

    Hi all, I have a that has lineStrings in it. I want to convert all the line strings into lineElement(s) corresponding to the constituent lineStringElement segments lengths and positions. I have done it manually using the break element, "7-2" command…