• 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
  • 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: Gdi import from oracle spatial ommits compound polygons geometry (gtype=1003,elem_info=1005)

    Jeff Bielefeld
    Jeff Bielefeld
    ...select the Bentley.Geospatial.Extensions.Oracle.tlb type library when setting your reference.
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: How do you Update/Edit Multiple Properties in Map?

    Jeff Bielefeld
    Jeff Bielefeld
    Alan, The ability to edit multiple XFM feature instances unfortunately is not included in Bentley Map at this time. We have received a number of customer requests for this functionality and are working to provide that capability later this year…
    • XFM_Update.zip
    • over 14 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: gdi explorer and vba

    Jeff Bielefeld
    Jeff Bielefeld
    Stefan, The Interoperability functionality of Bentley Map is not currently available in VBA directly. However the Interoperability application (e.g. gdi) provides keyins which could be used in VBA to perform basic queries of feature instances from…
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Creating LAT/LON Coordinate Value Labels with Bentley Map

    Jeff Bielefeld
    Jeff Bielefeld
    Users of Bentley Map often ask how they can generate text labels for their features containing LAT/LON coordinate values based upon the currently active geographic coordinate system. Users sometimes want to place the labels interactively (such as the…
    • over 11 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Topological analysis

    ThadSoles
    ThadSoles
    Does anyone have a mvba or mdl program to find the intersection of two lines and place a point or cell at the location? The geoscript function that does this is broken and the current version of Map does not do line/line analysis. Thanks Tha…
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Need a way to identify centroid within a shape

    Jeff Bielefeld
    Jeff Bielefeld
    Greetings Erik, The " Copy Centroid Business Properties To Polygon Feature Instances " example provides a minimum user interface... ...which allows the Bentley Map user to select a centroid (or point) feature class and polygon feature class then…
    • over 11 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Custom application in PowerMap Field V8i

    Jeff Bielefeld
    Jeff Bielefeld
    Your VBA based applications which leverage the XFT object model should work directly in Bentley PowerMap Field w/o modification in most cases. However you should be aware that while Bentley PowerMap Field provides redlining/markup capabilities it does…
    • 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
    ...you could try to set the _USTN_USERNAME environment variable to the name of the user workspace (e.g. SET _USTN_USERNAME=geo_example_designer) in the shell before starting your session.
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Not able to list the featuredefinitions.

    Jeff Bielefeld
    Jeff Bielefeld
    Erik, It seems that the first method used exposes a defect which is encountered when the FeatureMgr.GetFeatureDefinitionByIndex method is called with an index that references a feature class that is not included in the schema, which of course you are…
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Need a way to identify centroid within a shape

    Jeff Bielefeld
    Jeff Bielefeld
    Erik, No worries and your memory is absolutely correct as that was in fact one of the VBA example applications I provided during the Bentley Map development workshop at the 2010 Be Together user conference. Hopefully the example will at least provide…
    • over 11 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Custom application in PowerMap Field V8i

    Jeff Bielefeld
    Jeff Bielefeld
    ...yes, Erik that is correct. Regards, Jeff Bielefeld [Bentley]
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Find feature by uuid

    Jeff Bielefeld
    Jeff Bielefeld
    ...in any Bentley Map installation look for the " Bentley Map V8 i (SELECTseries 1) VBA Programmers Reference Guide " program shortcut to open the xft.chm help file. Expand the table of contents as follows... ...or simply use the "Search" capabilities…
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Find feature by uuid

    Jeff Bielefeld
    Jeff Bielefeld
    ...you should be able to use the CreateFeatureByUuid method of the FeatureMgr to create an instance using a known UUID as in the following from the help. Private Sub MySub(rootUuidString As String) Dim oFeature As Feature Set oFeature = xft…
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: VBA - accessing linkages

    Jeff Bielefeld
    Jeff Bielefeld
    After looking at the provided budynki_shape2.dgn file, it is at first not apparent which elements contain your user attribute data. Using pure MicroStation scanning and elements (e.g. no XFT constructs) it seemed that .GetUserAttributeData(lIDGL) always…
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: gdi explorer and vba

    Jeff Bielefeld
    Jeff Bielefeld
    Stefan, As mentioned, the Bentley Map V8 i (SELECTseries 2) 08.11.07 release provides the new Interoperability API services, documented in the ...\Bentley \Documentation\GeoDataInterchangeAPI.chm help file. The " gdi connect " keyin is also new to…
    • over 12 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 the following compound geometry... SHAPE(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES) --------------------------------------------------------------------------------------------------------------------------…
    • xfm_oracle1.zip
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: VBA - SubFeature Collection - XYZ (3D)

    Jeff Bielefeld
    Jeff Bielefeld
    I suspect the error is being caused by the fact that in an XFM feature collection, the root feature does not contain any geometry. The root feature acts as a "container" which only holds references to all of the "member" sub-feature instances. Depending…
    • over 11 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • View related content throughout OpenCities Map
  • More
  • Cancel
>