• Re: Centroid und Feature Collection

    Jeff Bielefeld
    Jeff Bielefeld
    Jens, Thank you for that confirmation. Please refer to this wiki article for information on the " Bentley Geospatial Desktop Platform Extranet " and the " Bentley Map - Development and Product Customization Guide " which includes the following VBA…
    • over 11 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: Dynamic where clause in Interoperability?

    Jeff Bielefeld
    Jeff Bielefeld
    Krister, I've posted a complete example here which includes a sample COM server written in C# which demonstrates one approach to calling the Bentley Map Interoperability managed API methods from VBA. The following sample VBA form should give you some…
    • over 11 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: set subfeature text to Align

    Jeff Bielefeld
    Jeff Bielefeld
    Charlie, I would recommend that you review the PlaceAnnotation2 method in the Library module of the xfmStdOpsLib.mvba (e.g. the XFM Standard Operations Library) delivered with Bentley Map in the ...\Bentley\Map\vba folder. The code in that method will…
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: How to add rotation to Cells when importing SHP files

    Jeff Bielefeld
    Jeff Bielefeld
    Attached is very brief VBA example (and sample design file) which uses XFT to rotate cell feature instances using a "ROTATION" property. Please note this sample does not perform the following verifications... Which cell feature class is being…
    • over 14 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Could locateOp have a memory leak?

    wirring
    wirring
    Hi I have a strange problem. I use LocateOp operator to check if a Feature with a given GmlId is present in the XFMdesignfile before creating that feature. This to avoid duplicates. After around 350 checked features PowerMap crashes! It could look…
    • over 12 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
  • 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: 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: 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: 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: 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: 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
  • Orthophotos in ECW with unsupported coordinate system

    wirring
    wirring
    Hi I have a total ortho photo coverage of Denmark in ECW format in the old danish coordinate system S34S. Now we are moving to a new coordinate system so we need to reproject the rasterfiles. Unfortunally the ECW files are marked with a coordinate…
    • over 13 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: 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: 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: 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: 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
  • Printpreparation -how to controle from vba

    wirring
    wirring
    By making a macro recording I can figure out how to start, how to lock rotation, how to set scale and to point out placement coordinates! But How do I set the name of the PlotSheet model that is going to be created? and how to I set the name of…
    • 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
  • LocateOp ScanAtPoint -how to set tolerance to be 2D only

    wirring
    wirring
    Hi Are there any possibility to make the LocateOp ScanAtPoint to only look at the distance in the XY plane instead of 3D I am working in VBA with the XFT object. My problem is that we work in 3D and sometimes I need to find a nearby feature that…
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Not able to list the featuredefinitions.

    wirring
    wirring
    Hi I have tried both examples from the Bentley Map XFM prommers Reference Guide: Private Sub ProcessFeatureDefinitions() Dim featureDefCount As Long featureDefCount = xft.FeatureMgr. FeatureDefCount Dim featureDefIndex As Long For…
    • 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
  • SetProperty methode on Feature object will not update property to empty or blank String

    wirring
    wirring
    Hi I have a funny problem. When I try in a VBA program to update a Property to a blank or empty line PowerMap keeps the old value. If I use any other string the property is set to the new value. All my Properties are strings. There is no XFM schema…
    • over 13 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
  • View related content throughout OpenCities Map
  • More
  • Cancel
<>