• [C# MDL] Create non-static commands, enabling inheritance from a base class

    Edward Ashbolt
    Edward Ashbolt
    Hi All, Looking for some advice here on creating MDL commands that allow inheritance from a base class... Reason being I plan to build out a heap of classes that inherit / override methods from a "base" class, to avoid having to manually call these…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect] Technique for trusting C# MDL to work when stored on network drive

    treestump
    treestump
    I have been struggling for a few days trying to get C# (.NET 4.6.2) MDL's to work when they are stored on a network drive. I am currently getting the message "MDL Loader: Could not load application. xxx" when I move the MDL's to a network path and update…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C# MicroStation CONNECT Edition Update 15] RealDWG API access through acdbmgd.dll

    Mervin Bowman
    Mervin Bowman
    Hi there, New to the MicroStation SDK - I am familiar with the AutoCAD ObjectARX lib. I see that RealDWG is included with MicroStation but when I am trying to perform the same code I have in AutoCAD it is not working the same within a C# MDL app in…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • From V8i to Connect with KISolid functions

    Roberta Franceschetti
    Roberta Franceschetti
    Hello, we are in the process of migrating from v8i to Connect SDK. We have many dlls and we need a little help to find some references that are probably relocated, or new ways to do the things we used to do through the old SDK. Lately we had been…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C# MDL] mdlView_getClipBoundaryElement not working

    Huan Ting Chen
    Huan Ting Chen
    Hi, I had an issue on calling mdlView_getClipBoundaryElement() which is the opposite problem of the post below. I was trying this with AECOsim V8i SS6 and VBA approach did work. However, it gave me -168 error code and Element ID as 0 all the time. I…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!

    Jon Mercer
    Jon Mercer
    Wondering if anyone would be able to help with an issue I have setting the clip volume for a view using mdlView_setClipBoundaryElement. Here's the implementation: [DllImport("stdmdlbltin.dll", CallingConvention = CallingConvention.Cdecl)] internal…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C#/MDL] Translating StatusInt into something readable.

    Jon Mercer
    Jon Mercer
    I wonder if anyone could help please? I've got various unmanaged MDL functions in a C# addin for microstation v8i. The implementation of these is fine and when they work it's great. Here's some code for background: [DllImport("stdmdlbltin.dll", CallingConvention…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from a C# API element?

    Nick Carter
    Nick Carter
    I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them? From searching through these community forums and browsing the C# functions/properties I…
    • over 6 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
  • [V8i C#] PInvoke MDL functions error

    Jon Mercer
    Jon Mercer
    I'm attempting to invoke various MDL functions in a C#.NET project. I've successfully managed to do the following: [DllImport(@"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\stdmdlbltin.dll")] private static extern void…
    • Answered
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C# MDL] Hatching Shapes

    Darren Grayce
    Darren Grayce
    Hi, I'm trying to hatch a shape using a .PAT file. I couldn't find any functions to do this despite MicroStation allowing it via the interface. I have found the mdlPattern_addAssociate2() function which takes a DwgHatchDefLIne structure which I think…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Draw Sections along center line and offset to centerline (C# Programming for microstation V8 2004)

    Manoj_Pal
    Manoj_Pal
    Hii All, I am new to microstation development. I am using C#.net and Visual Studio 2010. I want to do offset of a center line in both side and draw sections in a certain interval to the centerline. Would anyone help me to do this without using cadinputque…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i C#] Creating grouped holes via stdmdlbltin.dll

    Alex Proffitt
    Alex Proffitt
    Hi all, I'm currently writing an application which is plotting the Environment Agency's surface water flood map (~1.5Gig ShapeFiles) to v8 DGN's, tiled into 20km chunks (a pre-requisite for our internal applications). This is currently being loaded…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation 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
  • Write a COM Server in C# - call from VBA, C++, or C# or VB.NET

    Jon Summers
    Jon Summers
    COM Server created using .NET We've written an article about creating a COM server using .NET . It details the steps required to create a COM Server DLL (also known as an ActiveX component) using Visual Studio. Use a .NET COM…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • is there a mdl api to publish the dgn file to i-model file?

    Gang
    Gang
    Hi there, Is there any api to publish a dgn file to the i-model file?either native or managed api? Thanks in advance. Gang
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum