• 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
  • 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
  • Databrowser do not show properties all though they are defined in the FeatureClass definition cache

    wirring
    wirring
    I have got a problem that at least did not exist in BentleyMap SS2. I have veryfied that it exist in Bentley Map SS3 built 95 and sadly enough also in the new service release with built no 107. In short: I have a small Mvba app that defines a new…
    • over 10 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
  • 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: Centroid und Feature Collection

    Jeff Bielefeld
    Jeff Bielefeld
    Jens, I refactored the sample VBA application a bit to account for polygon collections, including instances consisting of disjointed areas. I did nothing to account for holes at this time. For details, please refer to comments in the findCentroid and…
    • over 11 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
  • Re: gdi explorer and vba

    Jeff Bielefeld
    Jeff Bielefeld
    ...okay very good Stefan, thank you for that confirmation.
    • 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: 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
  • Re: gdi explorer and vba

    Jeff Bielefeld
    Jeff Bielefeld
    Stefan, You will most likely have to use regasm.exe to manually register the generated type library, something that is done automatically when Visual Studio compiles the assembly if the projects "Build > Output > Register for COM interop" option is…
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: TAG to XFM Feature prop. and SHP Export with attributes

    Jeff Bielefeld
    Jeff Bielefeld
    Frank, Using VBA along with the Bentley Map XFT (XFM Feature Toolkit) library, you can convert tag data into XFM business properties. A pattern similar to the following could be applied. Function GetTagSet (strName As String ) As TagSet Dim…
    • tags2xfm.zip
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: FeatureMgr in VB.NET

    Jeff Bielefeld
    Jeff Bielefeld
    ...you will need to use the CreateObjectInMicroStation method on the MicroStation application object to ensure that your XFT objects are created in the MicroStation's address space. The CreateObjectInMicroStation method is useful for an out-of-proc program…
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: New API's in Bentley Map SS3

    Jeff Bielefeld
    Jeff Bielefeld
    Greetings Erik, For the Bentley Map V8 i (SELECTseries 3) 08.11.09 release, many of the API enhancements will be for use by .NET developers in the interoperability area. A minimum number of XFT changes will be included. No changes are planned for the…
    • over 12 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • Re: LocateOp ScanAtPoint --where can I set the maximum 'snap-distance' ?

    cdalesandro
    cdalesandro
    Hello Erik, You can specify this distance by passing a master units value to xfmLocateOp_setToleranceValue or LocateOp::Tolerance. Regards, Chris
    • over 13 years ago
    • OpenCities Map
    • OpenCities Map Forum
  • View related content from anywhere
  • More
  • Cancel
<>