Browse By Tags

  • Importing Bill of Materials Columns Mapping Set up

    Hi All, I am operating Bentley Open Utilities Substation V8, I'm trying to look how to import Bill of material excel file in a specific substation folder, but I don't know the correct information to fill up the columns map, if someone already tried…
  • VBA - Adding ActiveX controls to the toolbox

    OpenCities Map on Windows 10, 64 bit - VisualBasic for Applications How to add a Microsoft TreeView control to the form toolbox ? The TreeView control is contained into the mscomctl.ocx file (32 bit), which is in the c:\Windows\SysWOW64 folder and…
  • Why VBA XML file parsing and element creation is slower in OCMCE than BMv8i?

    Using Bentley Map v8i SS4 we had to move our XML file parsing and element creation code to VBA from C# due to very slow execution. Now we are migrating to OpenCities Map Connect Edition, and the same VBA code performance is about 1.7x slower for the very…
  • Announcing Bentley Map CONNECT Edition SDK x64

    The Bentley Map team is pleased to announce the immediate availability of the Bentley Map CONNECT Edition SDK x64 10.01.00.26 release on the Bentley Software Downloads site . The Bentley Map CONNECT Edition SDK provides Bentley Map application developers…
  • starting a new bentley map session

    I have a problem creating a new microstation object from my current session ( that i should use to perform some file operations without closing current dgn ) the problem is that i need a bentley map session ( that is, to load a specific configuration…
  • RE: Selecting elements by elevation

    Greetings Turkay, This type of data manipulation is best done programmatically. If you could provide a sample design file and details on what elevations should be moved to which levels, I would gladly craft a sample VBA application which could be used…
  • RE: How to query feature with specific where clause?

    Robert, Your VBA program is sending GDI keyins which unfortunately do not provide the ability to specify the WHERE clause. There are however ways to use the GeoDataInterchange .NET API wrapped up as a COM server, exposing to VBA ways to specify WHERE…
  • [V8i C#] How to get the DisplayName of a property from PropertyDef

    I'm writing an add-in in C# using the XFT API where I need to show the DisplayName of a property (of a feature) but in PropertyDef there's no such property than can get me the DisplayName. So how can I get the DisplayName of a property from PropertyDef…
  • how do i change line scale dynamically using Bentley API?

    could any one let me know how do i change line scale dynamically using Bentley API with a example program?
  • Move attached Raster to a point in Bentley Map Keyin

    Hi All, I want to move a raster file to a point , which is attached via Raster Manager in Bentley Map. [Enterprise V8i] I am looking for any Keyins available for the same use. if not any source code also ok. :) Thanks for the help in advance! …
  • What is the 'Attribute ID' parameter in GetUserAttributeData method to query attribute data from features in bentley map

    Hi All, I am trying to do a simple attribute query on the features. But I don't know what 'AttributeID' to be passed on to the function GetUserAttributeData. How to get this value. Any help is highly appreciated. Code snippet is pasted…
  • Auto Annotation features

    Hi, I try to place annotation feature to exist features by VBA but only one feature in annotated. This is my code: Dim oLocateOp As New locateOp Dim oFeatureEnum As FeatureEnumerator Dim oFeature As feature Dim oAnnotation As feature Dim oInputPoint…
  • Learning about XFT Move Operation in Map

    HI all! I need to know how use the move operation in Bentley Map. Actually, in C# i write this code: Bentley.Interop.Xft.MoveOp op = new Bentley.Interop.Xft.MoveOp(); Bentley.Interop.Xft.CmdMgrClass mgr = new Bentley.Interop.Xft.CmdMgrClass…
  • Bentley Map v8i SS3 AddIn

    Hello, How can create an addin for Bentley Map v8i SS3 with VS2010 . I already created one for Mstn that inherits the class Bentley.Microstation.AddIN. Is there something like that? I have used the same addIn that i used in Mstn in Map. But adding…
  • RE: Bentley MAP v8i SS3 SDk

    The Bentley Map SDK supports application development in following languages. Please see the " Bentley Geospatial Desktop Platform Extranet " article for instructions on requesting access to a site that contains more information for those interested…
  • RE: Compressing design changes features definition?

    Daniel, Are you running the modified gasmain application in the geo_example_designer workspace? Attached is slightly modified gasmain.c source code that when tested in the Bentley Map V8i (SELECTseries 3) 08.11.09.107 commercial release seems to work…
  • Re: Creating new polygon element (type 106)

    Erik, The createExampleLakeCollection VBA subroutine shown in the previously thread should result in the following: As you can see the area of the inner island is correctly substracted from the outer polygon. Using Property Based Symbology the…
  • Re: Documentation to the Bentley.Geospatial.MapQuery Namespace

    Tom, At this time there is no public API for integration with the Data Browser application. As you probably know, there is keyin support for the various Data Browser load methods with the following syntax: map query browse [ all | fence | selection…
  • Re: Looks like methode "ZoomInView" in the xft object is not working in the new SS3 version

    Erik, As suspected it appears the proper transform is not being applied when the VBA code is started directly from the "Project Manager" so I've filed an issue to have the matter resolved in the upcoming Bentley Map V8i (SELECTseries 3) 08.11.09 maintenance…
  • Re: Creating new polygon element (type 106)

    Erik, The polygon collection class definition that you generate at runtime must have both a root and subfeature. In MDL C code the pattern might appear as follows: // Create polygon collection feature definition xfmFeatureDef_setMinOccurrences …
  • Bentley Geospatial Desktop Platform Extranet

    Please see the " Bentley Geospatial Desktop Platform Extranet " wiki article for information which may useful for anyone interested in developing custom applications on the Bentley Map development platform.
  • Re: Bentley Map User Callback Function crashes set with geoSystem_setFunction()

    Tom, Just wanted to let you know that the upcoming Bentley Map V8i (SELECTseries 3) 08.11.09 maintenance release will in fact include the required fixes that should allow your managed event handlers to work as expected with the Persistent Topology…
  • Re: Looks like methode "ZoomInView" in the xft object is not working in the new SS3 version

    Erik, I've tested using .91 and .95 builds with both performing the ZoomInView method as expected. I will have some of my other colleagues perform independent tests after which I will contact you with results.
  • Re: [V8i SS3 C#] Programmatically read columns/records in layers within the Map Manager

    Anders, It is good to hear that you are now able to programmatically read the results of your spatial overlay operations. To answer your question, feature instances of regular map layers remain in the design model from which the feature classes…
  • Re: Bentley Map User Callback Function crashes set with geoSystem_setFunction()

    Tom, Using code from your sample C# addin I was able to replicate the described problem. Registering the persistent topology callbacks for use in native code works as expected. However attempting to register a manged code method for use as a persistent…