Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenCities Map
  • Product Communities
  • Geospatial
  • OpenCities Map
  • Cancel
OpenCities Map
OpenCities Map Forum
    • Sign In
    • All tags
    • VBA
    • API
    • Bentley Map
    • Bentley Map API
    • Bentley Map Select Series 2
    • Bentley PowerMap
    • Bentley PowerMap Field
    • BentleyMap
    • c#
    • COM
    • Database
    • features
    • Interoperability
    • MDL
    • mvba Bentley map
    • OpenCities Map
    • Oracle Spatial
    • PowerMap V8i
    • PowerMapV8i
    • Print Preparation
    • Programming
    • Promote
    • Properties
    • SQL Server
    • XFM
    • XFT
    • VBA check if a feature is queried from database

      Nikolay Tsonev
      Nikolay Tsonev
      Hello all, I have a features queried from database and another I just placed. Can I check if feature is queried from database in VBA?
      • over 1 year ago
      • OpenCities Map
      • OpenCities Map Forum
    • error in Mvba: Class does not support Automation or does not support expected interface number [430]

      Carlos R
      Carlos R
      Hi everyone!! I have this code , First I promote a point cell feature from a SharedCell , then I´ve triying to read some properties like coordenates, cell name and others, and then add this cell properties to a feature properties. The rare thing is in…
      • over 2 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • VBA in OpenCities Map CONNECT posting handler callback

      Mario AYLWIN
      Mario AYLWIN
      Code : VBA. Bentley : OpenCities Map CONNECT Edition Update 6 - Version 10.06.01.06 (64bits) BD : Oracle 11g BD Client : Oracle 12c Hi, I want to post my feature to Oracle. I found "GDI POST FENCE ..." but i have no callback for my code VBA when…
      • over 2 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: Selecting elements by elevation

      Jeff Bielefeld
      Jeff Bielefeld
      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…
      • over 6 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: convert lot of txt elements to xfm

      Jeff Bielefeld
      Jeff Bielefeld
      I reviewed the provided text2xfm v1.5 application and it appears the ability to process multiple text elements still exists. If a " Fence " is active when the " Process " button is pressed then all of the text or text node elements in the fence contents…
      • over 7 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: Bentley Map SS4 change feature name

      Jeff Bielefeld
      Jeff Bielefeld
      Bjorn, Yes, features can be renamed programmatically using code that updates the .name and .alias properties on the feature instance then calls the .write method. Attached is a VBA example which illustrates one way in which this can be done. rename_features1…
      • over 7 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: [BM SS4] User Data Linkages and Group Hole Elements

      Jeff Bielefeld
      Jeff Bielefeld
      Bruce, I appreciate the additional sample data. I've been out of the office for the past few days travelling on business but earlier today using the new data I ran the attached promote2.mvba process which created 4 new polygon collection feature instances…
      • over 7 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: [BM SS4] User Data Linkages and Group Hole Elements

      Jeff Bielefeld
      Jeff Bielefeld
      Bruce, After a quick review, I believe your use of the DFS rules file is causing the observed difference when running the promote1.mvba process. I will perform some additional verification testing and update you with my findings. Question, I noticed…
      • over 7 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: [BM SS4] What happens to User Data Linkages?

      Jeff Bielefeld
      Jeff Bielefeld
      Bruce, Please zip up and send me via private message... Your modified MVBA file. A sample design file containing the original MicroStation shape elements. A current copy of your Bentley Geospatial Administrator schema file. ...and I will…
      • over 7 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • RE: [PowerMap v8i Select Series 1] Key-In "attach maps"

      Jeff Bielefeld
      Jeff Bielefeld
      Jan is correct. No VBA wrappers are provided for the Bentley Map C API functions. The most commonly used Bentley Map functionality, including the XFM data modeling engine is provided in the XFT (XFM Feature Toolkit) COM object. Use of other Bentley Map…
      • over 8 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Using VBA to query features

      Jeff Bielefeld
      Jeff Bielefeld
      Stefan, In the "xfmOracleExtensions" sample available in the online " Bentley Map - Development and Product Customization Guide ", take a look at the editInstance() method for an example of using XftCmdMgr.ActivateMethod() to open the "Edit" dialog…
      • over 12 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Check for PowerMap current database connection

      Jeff Bielefeld
      Jeff Bielefeld
      Rói, And Jon is correct in that the MicroStation (and thus Bentley PowerMap) database connection information is not available. Depending on your application requirements, you may be able to use the BUDBC (Bentley Universal Database Connection…
      • over 14 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: StringLibrary "Variable Not Defined" in NetworkAnalyzer

      Jeff Bielefeld
      Jeff Bielefeld
      Charlie, You should have a module named StringLibrary as seen in the following:
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: set subfeature text to Align

      Charlie327
      Charlie327
      Success! Although I did not have much luck with PlaceAnnotation2 (It seemed aimed at interactive placement, and I could never quite get the subfeature to rotate), I adapted a function provided by Bentley services. The main deal was to set the rotation…
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Is there anyway to export dgn text elements to TAB text

      Jeff Bielefeld
      Jeff Bielefeld
      Tom, I believe a change request that could potentially expose text string values as business properties for inferred features would be worthwhile. This would allow you to simply open a MicroStation design file in Bentley Map and use the Interoperability…
      • text2xfm2.zip
      • over 11 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: XFT.ILocateOpEvents

      Jeff Bielefeld
      Jeff Bielefeld
      ...in VBA you can use the XFT.ILocateOpEvents interface as follows. First declare a new XFT locate operation object and set desired criteria. Private Sub CommandButton1_Click() Dim oLocateOp As New xft.locateOP oLocateOp.IncludeOnlyFeatures = True…
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Gdi import from oracle spatial ommits compound polygons geometry (gtype=1003,elem_info=1005)

      Jeff Bielefeld
      Jeff Bielefeld
      Jiri, For you adhoc connection (e.g. without a schema) code, you will need to add the following highlighted lines to the connectAdhoc method: public void connectAdhoc(string userName, string password, string serviceName) { GDI.GDIExplorerOracleImportsNode…
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Problem with using LocateOp with in A feature numerator from a previous LocateOp

      wirring
      wirring
      Hi I have a problem with making a locate while running through a feature enumerator from a previos made scan, PowerMap crashes when going to the second item in the outer loop. I have made this very simple application to show the problem (The application…
      • LocateTest.zip
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Gdi import from oracle spatial ommits compound polygons geometry (gtype=1003,elem_info=1005)

      Jeff Bielefeld
      Jeff Bielefeld
      ...not familiar with that particular error, but at this time I would recommend the use of Visual Studio 2005 Edition when developing applications for the Bentley Map V8 i (SELECTseries 1) platform. Also when adding/replacing references to accomodate your…
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Check for PowerMap current database connection

      Jon Summers
      Jon Summers
      Unknown said: Can someone please tell me, how VBA can find out which database connection is currently active in PowerMap? MicroStation's DB interface is notoriously obscure. AFAIK it's not possible to query MicroStation for its current DB connection…
      • over 14 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Point XFM features becomes invisible after converting to new XFM format

      Jeff Bielefeld
      Jeff Bielefeld
      Erik, For polygon collections you can handle them just as you always have, working with a root (collection/container) feature and then the subfeature (member) geometries. You continue to use the MicroStation object library to create and manipulate…
      • over 11 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Find feature by uuid

      Jeff Bielefeld
      Jeff Bielefeld
      ...the network API is not formally documented at this time. Please forward questions regarding it's use directly to me. I would recommend that you search the MicroStation SDK or VBA documentation for the term "transient" to get a better idea of how they…
      • over 13 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: User Interface --> Tools

      Jeff Bielefeld
      Jeff Bielefeld
      Yes, in addition to MDL (e.g. native C/C++) libraries, Bentley Map provides the XFM Feature Toolkit (XFT) COM object for development using VBA or .NET (e.g. C# or Visual Basic.NET) languages. Depending on your applications functional requirements, you…
      • over 10 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: Centroid und Feature Collection

      Jeff Bielefeld
      Jeff Bielefeld
      Jens, From your description it sounds as if you want to copy the business property values from some source data to instances of your new polygon collection feature class. Is this correct? If so is the text you refer to the annotation sub-feature text…
      • over 11 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • Re: VBA - accessing linkages

      Jeff Bielefeld
      Jeff Bielefeld
      ...okay very good, thank you for that update. I would also recommend that before calling the .GetSubFeature(0) method, your code performs a check to ensure that the .SubFeatureCount property has a value greater than 0.
      • over 12 years ago
      • OpenCities Map
      • OpenCities Map Forum
    • View related content throughout OpenCities Map
    • More
    • Cancel
    >
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies