• [CONNECT C++] DgnElementSetTool::_SetLocateCriteria

    Jon Summers
    Jon Summers
    There are no examples that show how DgnElementSetTool::_SetLocateCriteria should be used. The MicroStationAPI doc says: Called from BeginPickElements and BuildAgenda to setup modelRef search list. If _IsModifyOriginal then mdlLocate_normal and mdlLocate_allowSelfRefs…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] MicroStationAPI Configuration Variable List

    Jon Summers
    Jon Summers
    This section in the MicroStationAPI help doc could do with some improvement...
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT SDK] MicroStationAPI help

    Jon Summers
    Jon Summers
    I followed the link in the MicroStationAPI help to what's changed and got this... That's one of several errors.
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] Finding TextTable Seeds in DGNLibs

    Jon Summers
    Jon Summers
    TextTable seeds are stored in your DGNLibs. If you want to find a TextTable seed programmatically, you must... Enumerate the available DGNLibs (each DGNLib is a DGN file) Enumerate the models in each DGNLib Test whether the model is a TextTable…
    • http://www.la-solutions.co.uk/content/CONNECT/MicroStationAPI/MicroStationAPI-TextTableSeed.htm
    • View
    • Hide
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • [CONNECT C++] DgnElementSetTool::_DoLocate

    Jon Summers
    Jon Summers
    MicroStationAPI tool class DgnElementSetTool provides method _DoLocate ... HitPathCP _DoLocate (DgnButtonEventCR ev, bool newSearch, ComponentMode complexComponent) The last argument complexComponent is unclear. It's documented like this... enum…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Detecting a Cached Saved View Attachment in MicroStation CONNECT

    Peter Jones
    Peter Jones
    Hi All, I have some legacy VBA code from v8i that I'm trying to port over to the CONNECT versions - it's using a CExpression with a pointer into the referenceFile struct for a specific reference: Private Declare PtrSafe Function mdlRefFile_getInfo…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] IDgnWorkSetInfo Properties

    Jon Summers
    Jon Summers
    Class IDgnWorkSetInfo has methods relating to properties... AddProperty (overloaded for several data types) AreAllPropertiesLoaded () RemoveProperty But there's no GetProperty() . How can we obtain the properties owned by a DgnWorkSetInfo…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C++] How to get the color of an element?

    Mario Pîrău
    Mario Pîrău
    Hello, I have a problem while retrieving the colors of the different geometric parts of an element. For parsing the geometry I'm using the IElementGraphicsProcessor to process the element and retrieve the different graphic primitives types (SolidPrimitives…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT MicroStationAPI] Help topic: BusyBar Window

    Jon Summers
    Jon Summers
    I complain sometimes about the terse nature of the help documention. This example, taken from the MicroStationAPI, extends terseness to unhelpfulness. Apart from a copyright notice, the help window is blank...
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] CompletionBarInfo struct

    Jon Summers
    Jon Summers
    There is a family of MDL functions ( mdlDialog_completionBarOpen() etc) that start and update a Completion Bar (a.k.a. Progress Bar , Busy Bar ) Find the mdlDialog_completionBar family in MicroStationAPI help. There is additionally a CompletionBarInfo…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • microstation sdk v8.11 - navigating programmatically through surface type 18

    Roberto Cardosi
    Roberto Cardosi
    Dear all, good day. I have a cell containing an element of type Surface(18). I cannot understand how to navigate through its subelements. Here it is visual basic code: Public Sub NavigateThroughSurface( ByVal oApplication As Bentley.Interop.MicroStationDGN…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] Managed Equivalents for older COM Interop Calls

    Francois Grobler
    Francois Grobler
    Hallo, I am converting existing add-ins that were written in C# using the COM Interop on V8i SS4 to the new CONNECT NET API and I would like to get rid of any remaining calls to the COM Interface where possible. To achieve that goal, I need to find…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect C++] list with all the "class name" types of an element

    Stefano Beccaletto
    Stefano Beccaletto
    Hi, Is there a way to get all the class name types that identify elements? Typically for gathering the class name I'm using the following commands: for (DgnECInstancePtr instance : ecMgr.FindInstances(*scope, *ecQuery)) { DgnElementECInstanceP elemInst…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Does the MicroStation CONNECT SDK provide an API or classes to customize the FBX export process?

    Jeremie Seanosky
    Jeremie Seanosky
    For instance, I would like to customize the names of the individual meshes when exporting to FBX so they use the Linkage IDs of the original meshes in the DGN. My original files are DGNv7 formats that I convert to v8 format using the MicroStation Batch…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • AutoCAD properties are lost after converting AutoCAD to Microstation, create tool to retain properties in microstation format

    Hrushikesh Risbud
    Hrushikesh Risbud
    I am looking for options to convert AutoCAD to microstation retraining the drawing properties like blocks in AutoCAD are editable blocks in microstation, line and text properties in AutoCAD are retained in micro station.
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming - Ideas
  • Item Types CRUD Operations with Native, COM and Managed API's

    Snehal Deshpande
    Snehal Deshpande
    This blog demonstrates how to use Item Types Native, COM and Managed API's for following operations: Create Item type Library, Item Type and Property Read default value of already available property Update the default value of already available…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • [V8i C++] Pick Multiple Elements

    Jon Summers
    Jon Summers
    class PickPointsTool : MstnElementSetTool I want to write a tool using the C++ MicroStationAPI supplied with the V8i SDK. The tool should accept multiple point elements (e.g. cells, zero-length lines). Once user has chosen, say, four or more point elements…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] ListModel Manager for ComboBox and ListBox Hook Classes

    Jon Summers
    Jon Summers
    The MicroStationAPI DialogItemHookHandler class lets us write simpler hook handlers for MicroStation dialog items. They let you avoid the giant MDL switch statement in your procedural hook handler code. The ComboBox and ListBox dialog items share the…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] MicroStationAPI ActiveSettings documentation incorrect

    Jon Summers
    Jon Summers
    MicroStationAPI help lists a number of methods under topic Active Settings . For example, static BentleyStatus GetValue (bool &value, ActiveBoolParams paramName) Gets the value of an active MicroStation setting of type boolean However, those methods…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] CurveVector::SetBoundaryType

    Jon Summers
    Jon Summers
    Make CurveVector::SetBoundaryType() a public method in the MicroStationAPI.
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming - Ideas
  • MicroStationAPI CONNECT Help Documentation: Provide #include file paths

    Jon Summers
    Jon Summers
    The MicroStationAPI help document lists classes and functions. The class description usually mentions the relevant header file(s). For example, DgnECInstance Struct Reference #include <DgnECInstance.h> However, those include files are not in a flat…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming - Ideas
  • [CONNECT C#] CellLibraryInfo Performance

    Mark Stefanchuk
    Mark Stefanchuk
    Versions: OpenRoads Designer and SDK Update 4: 10.04.00.48. And MicroStation Update 10 (10.10.00.32 and SDK 10.10.00.23). I am using CellLibraryCollection and CellLibraryInfo to find cells and I've noticed that it is slow - meaning it takes at least…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] ISelectionEvents::_OnSelectionEvent

    Jon Summers
    Jon Summers
    ISelectionEvents::_OnSelectionEvent has a boolean return value. The MicroStationAPI help says: returns true to stop . True to stop what?
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] Australian Spiral

    Jon Summers
    Jon Summers
    The Update 9 SDK introduces an Australian Spiral ( DSpiral2dAustralian ) class. What is an Australian Spiral?
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] AnnotationCellHeaderHandler header file missing

    Jon Summers
    Jon Summers
    A recent post has reminded me that class AnnotationCellHeaderHandler is not published. This applies to CONNECT Update 10 and earlier. Its declaration (header file) is missing from the SDK. That was first noted on this Forum in 2017.
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
<>