• [CE U17] COM/Interop does not release memory

    Jean-Pierre Hundhausen
    Jean-Pierre Hundhausen
    It's quite similar to https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/201080/mstn-ce-u14-vba-and-com-interop-does-not-release-memory but this time it happens while accessing child elements…
    • Answered
    • 10 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET] Get In-Memory Element from COM Impossible

    Jon Summers
    Jon Summers
    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…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • {CONNECT C#] sweep profile along Bspline or curve has error

    JingYing Huang
    JingYing Huang
    Hi, I want to create a Bspline curve element, but when I try to create the bspline, the MS will have the error and close automatic. This is my code: BCOM.Application msApp = Bentley.MstnPlatformNET.InteropServices.Utilities.ComApp; List<BCOM.Point3d…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i MVBA] Extrude Profile to Solid

    Wence
    Wence
    I'm testing Extrude to solid method as follows: Sub TestExtrude() Dim oEle As Element 'Dim oSmartSolid As SmartSolid Dim oSmartSolidEle As SmartSolidElement Set oEle = ActiveModelReference.GetElementByID(DLongFromString("62494")) 'This is not necessary…
    • Answered
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Entity Framework in v8i AddIn

    TMA
    TMA
    I am attempting to create an AddIn that writes data from a dgn file into a sql database via a .net 3.5 compatible version of Entity Framework. When loading and executing the addin, I get the following error: System.ArgumentException: The specified…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Problems and Solution about Resizable Arrays from MicroStation API through COM

    Jan de Pater
    Jan de Pater
    Win7 Esp SP1 MicroStation: various Visual Basic 6 Excel 2007 VBA Hello world, I'm posting this again, because I think it is an important matter. The problem is already in the second part of another thread, http://communities.bentley.com/products/programming…
    • Test_VBA_DGN_Dblink_problem_v2.zip
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: VB6 and V8i: how to Reference MicroStation?

    Jan de Pater
    Jan de Pater
    My new insights. Actually those zero's for UBound are not the problem. Although VB usually counts from 1, it is legal to walk from LBound to UBound, so from 0 to 0, so there is one databaselink. Robert showed me that the problem is Inside Process…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: Start Microstation from vba with user and workspace?

    Robert Hook
    Robert Hook
    To start MicroStation programmatically there are two primary methods. The first method you illustrate above using the Microsoft COM approach by creating a new MicroStationDGN.Application; where the ApplicationObjectConnector is preferred in most cases;…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: treeview in vba form

    Robert Hook
    Robert Hook
    UPDATED: 2015-08-28 For a majority of MicroStation VBA project and macro load and run errors ; of recent; my recommendations have been to use the following steps: 1. Run Microsoft Update to ensure that both Microsoft Windows and Microsoft Office product…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: MicroStation v8i ss3 vba How to check if solid is sphere?

    Jon Summers
    Jon Summers
    Unknown said: Declaring Function mdlElmdscr_isSphere in external vb.net application does not work It doesn't work because the MDL functions must operate in MicroStation's memory space. If you call from a separate .exe then you are operating in that…
    • 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
  • [V8i c#] Crash : 'RPC server is not available' or 'MicroStationDGN Error 1100'

    thangaraju s
    thangaraju s
    Crash : 'RPC server is not available' or 'MicroStationDGN Error 1100' Problem : After successful operations of the files and in some file, while changing the text property using keyins. Microstation application object gets null, but application…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: SetCustomProperty Question

    Robert Hook
    Robert Hook
    For SetCustomProperty , I see no practical limits imposed on the length when modifying a Microsoft's FMTID_UserDefinedProperties PROPVARIANT VT_LPWSTR using Microsoft's IPropertySetStorage API. The MicroStation COM GetCustomProperty implementation…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c#] Open design file needs delay

    thangaraju s
    thangaraju s
    Open design file needs delay Problem : Application is visible & after opening the Design file, immediately tool bar, menu bar will not display the GUI. If we use Delay for 3 seconds GUI gets displayed. Need to know we are Opening the design…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c#] Is there a API to import the level library

    thangaraju s
    thangaraju s
    Is there a API to import the level library Problem: Is there a API to import the level library which is correspond to the below key-ins?? MicrostationDGNApp.CadInputQueue.SendCommand("LEVELMANAGER DIALOG OPEN"); MicrostationDGNApp.CadInputQueue…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: Access all the opened design files in c#

    Robert Hook
    Robert Hook
    As Jon indicated, the MicroStation VBA environment and help are a great resource to get familiar with and utilize for testing/prototyping your code. Doing so provides you documentation, a fair number of samples to get started, and an environment that…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c#] Issue with the text font change using API

    thangaraju s
    thangaraju s
    Problem : 1. If we change the font using api 'currentElement.AsTextElement().TextStyle.Font' , Redraw & Rewrite the element. There is a displacement in the text location. if we use the key-ins, or open manually and change the font. There is no…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c#] Is there a API to Change the grid aspect ratio

    thangaraju s
    thangaraju s
    Problem: Need to know the API to change the Grid Aspect Ratio Tried with the ActiveSettings but we have option to change ActiveSettings.GridUnits, and GridReferences and the same is achievable via key-ins 'MicrostationDGNApp.SetCExpressionValue…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Known issues in MDL?

    DanPaul
    DanPaul
    Hi programmers, do you know about some known issues in MDL/Ustn API related forum/blog/wiki/documentation? As far as I remember, we have found some issues (bugs in MDL and COM DGN object) in past which are still being found again and again by another…
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Visual Studio alternatives

    gelswick
    gelswick
    After getting sticker shock from reviewing the current pricing structure of VS 2010, can anyone recommend C# compiler alternatives to use with the MS SDK. Was going to go with the 2010 Pro edition until I found out it is only a one year license. Charles…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • KeyIn "Attach Reference" leads MicroStation to unnormal state

    Marcel Pradel
    Marcel Pradel
    Hi, in MicroStation V8i (SELECT series 2) - Version 08.11.07.446 (German) I have a problem when I try to attach a reference by Key-In. InputQueue->SendKeyin( _bstr_t( "reference attach \"c:\\file.dgn\"" ) ); After I accept the reference settings…
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Re: Interop.MicroStationDGN, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null

    Jon Summers
    Jon Summers
    The Rules of COM sugus: Is hard to believe that I only can develop with (and for) Microstation v8... Your disbelief is misplaced. MicroStation V8i (v8.11) provides the same COM interface as MicroStation V8.5 (v8.05), with some added functionality…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Addin SDK (C#)

    Andre Bombardier
    Andre Bombardier
    Hi, I develop MicroStation MDL and I would like to investigate the COM interop approach ising C#. I saw that a addin SDK MicroStationAddInWizardVS2005ToolKit.zip is available. Where can I download the SDK. Thanks, Andre Bombardier
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Developing C++ application with managed and unmanaged code

    Lele
    Lele
    Hi, Soon I should start developing a new AddIn. NET and it should use the functions mdlKISolid ... What I want to know is: 1. if I can call functions mdl in a managed C++ project, 2. if there are methods. NET that replace the functions mdlKISolid. Thanks…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Re: Need help populating a listbox with excel data

    Jon Summers
    Jon Summers
    Referencing a COM Server mbarre@rtg-texas.com: I can't figure out how to get MicroStation VBA to "talk" to Excel … MicroStation VBA and Excel VBA are, in Microsoft terminology, COM server s. That means that you can connect from one…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 XM Edition VBA Forum
  • View related content from anywhere
  • More
  • Cancel
>