Browse By Tags

  • Open a .dgn file in background(batch processing)

    Hello all, I am new to Microstation Connect Edition api. I will like to know if we can open a .dgn file in background(batch processing).
  • CONNECT C# U16.2 What is the difference in behaviour between Element.GetNativeElementRef() and Element.GetNativeElementRefFromDescr() and when should each be used?

    Hallo, In this post, Jon Summers commented the following: "I notice that there is a similar function public IntPtr GetNativeElementRefFromDescr() . How that differs from GetNativeElementRef() is not clear." Have you since found the difference between…
  • scan GroupedHoleElement

    I would like ask if it is any way in .Net environment to scan GroupedHoleElement (expect for using interop lib). I tried use (var curveGroup = e.GetCurveVector();) and it exposes components foreach(var curve in curveGroup) { CurvePrimitive x = curve;…
  • [V8i C# Addin] VS2017 Community element properties not displayed, showing up as {System._ComObject}

    Good day all, I haven't found a similar question to mine, so i decided to write one. I am using VS 2017 Community Edition, version 15.9.4 and i used the InnovoCAD v8i C# Template as published on the VS Marketplace. The problem I have is that when…
  • Connect C# template for Visual Studio2013

    Hi, Microstation Connect Edition update 8(version 10.08.00.37) and SDK is installed and Visual Studio 2013 is already exist. But When I try to create a new project by using Visual Studio2013, under 'Templates' Bentley for C# is missing. How to resolve…
  • Las file loading without converting into pod

    Hi Team, Programmatically can i load las file directly into MicroStation V8i (SELECTseries 4) Version 08.11.09.829 without converting into pod format ? Thank you, B Daniel.
  • CONNECT VB.NET Custom KeyIn Framework

    Hi, I want to create a base project that simply calls up two different message boxes in MS-CE (a) HELLO (b) HOW ARE YOU [The purpose for this is to have a working base project that will compile and function. From that, complex functions will be built…
  • .Net API to create ECQuery for allExtrinsic or intrinsic instance and create ECQuery by specify the schema name and class name?

    Hi experts, I can create ECQuery with c++ api as below to get all extrinsic EC instance, or by specify the schema name and instance name, ECQueryPtr findAll = ECQuery::CreateQuery(ECQUERY_PROCESS_SearchAllExtrinsic); WCharP schemaName = L"DgnElementSchema…
  • 【C# Microstation V8i】 How to determine if an element is 2D or 3D?

    hello: My Microstation version is v8i ss3, my programming language is C#, and Visual Studio version is 2015 Professional, add-in. As the title says, I want to determine if a Cell contains 3D elements. If it contains, hide this element. Here is my…
  • Microstation connect ElementChangedEvent ChangeTrackKind

    Hi, I overloaded the ElementChangedEvent event and get a ChangeTrackKind value in eventargs.Change Delete = 1, Add = 2, Modify = 3, ModifyFence = 5, Mark = 7, ModelAdd = 9, ModelDelete = 10, AddXAttribute = 11, DeleteXAttribute = 12, ModifyXAttribute…
  • 【C# Microustation V8i 】 How to modify multiple element information ?

    How to modify multiple element information by reading the information in EXCEL, such as the radius of the circle, I have already obtained EXCEL data, and use the data to modify the radius of the circle (for example), using the Rewrite method, But…
  • [V8i, Other:VB.NET] Stroking B-Spline/Arc/Ellipse to LineString

    Hi, Below my understand on current available methods for "Stroking B-Spline/Arc/Ellipse to LineString" mdlElmdscr_stroke in MDL a B-Spline/Arc/Ellipse can be stroked to LineString From V8 VBA help, the topic "Stroke a B-spline Curve" did provided…
  • 【MSTN V8i Addin C# 】How to get all the elements in the model?

    Hello everyone: How to get all the elements in the model, I use the Scan method in the VBA interface but it did't work. Is my code wrong or there are other ways to get the elements in the model? public void Dynamics(ref Point3d Point, BCOM.View…
  • [C# MicroStation v8i ss3] Create a table

    Hello everyone, I want to create a table programmatically in Microstation v8i ss3. My software is vs2015 and the programming language is C#. The content of the form is taken from the user-defined attributes. How can I implement this function? …
  • How to add attribute information to an element,using C#

    hello,everyone! I created an element in C#. Now I need to attach attribute information to this element. How can I implement this? Please help me!
  • Hello World with vb.net vs2010

    As I am new to all this, I am hoping that some one can point me in the right direction. I am looking to create a programme (dll) in VB (visual studio 2010) which simply says hello World, and then from microstation call that routine, which I hope will…
  • How to load the addin(C#) automatially when the Microstation Connect Edition luanched and a dgn file is opened?

    I have a C# addin for Microstation(CE), i can load the addin manullay, i want to the addin load automatically when Microstation launched and a dgn file is opened? i have search the related issues, and seems is need to set MS_DGNAPPS variable, but i…
  • Remote debugging of Microstation/Promis-e add-in

    Hello, I'm wondering if anyone has any experience with debugging a Microstation or Promis-e add-in over a network? My situation is that my Visual Studio is on a different machine than my Microstation App. At present I do not have the option to install…
  • MicroStation Connect SDK v10.07.00.40

    I am having trouble building all of the examples. I used the following steps: I started the MicroStation shell developer as Administrator and entered the following: MicroStationDeveloperShell.bat C:\Program Files\Bentley\MicroStation C:\Program…
  • Adjust Dimension-Text Location Using Microstation VBA/C#

    I want to adjust/move the dimension text from one location to another location( Here both source and destination co-ordinates are known ). How to perform this? Kindly suggest. Screenshot is attached for your reference. In the Screenshot, the Red…
  • Edit Dimension Element

    Dear All, I want to stretch the existing linear dimension element between two points. How to accomplish this by using C#? For line element, we have 'modify vertex' method. Similarly, is there any inbuilt method/option is available to modify linear…
  • Does we have the same level of api access(access Bentley DGN files with full fidelity) when develop extension on top of Microstation with a C# addin and a MDL application.

    Hi all, I am new to Microstation development, and recently i want to develop an extension which is to "read" DGN file data(geometry, properties, reference...), i am not familiar with the MDL development environment( especially about the make file…
  • [V8i C++/C#] Native MDL and ProStructures

    Hi, I am working on an Native MDL application for my company that will provide an export that is compatible with our application. One of the reasons we opted to use Native MDL was so we could better access to the geometry in a MicroStation model however…
  • Tag Definition variable not updating

    Hello Everyone, I'm trying to save some DGN files as DWG files using: myDGN.SaveAs(str_PrintDestination & "\" & newFileName, True, B_Interop_UstnDGN.MsdDesignFileFormat.DWG) Everything goes okay except for some of the tags show up in the DWG file…
  • Is there a process limitation to the bentley.interop.microstationdgn?

    We need to process approximately 200,000 dgn files. We would like to process these files on a server for obvious reasons. We have created a c# script that uses the bentley.interop.microstationdgn library. The script works for a while for like maybe…