• Re: V8i C# Addin (Bentley Select Series 2) - IFeature.GeometryType is returning geometry type as GEOMETRYTYPE_Unknown for polygon/shape element

    Jeff Bielefeld
    Jeff Bielefeld
    Following is an XFT code snippet that demonstrates how to iterate through the polygons of a polygon collection feature instance.
    • over 10 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • Re: Looks like methode "ZoomInView" in the xft object is not working in the new SS3 version

    Jeff Bielefeld
    Jeff Bielefeld
    Erik, Thank you for the confirmation. I suspect it has something to do with the application (or non-application) of the current transform. I'm investigating further and will update this post as soon as the actual cause has been identified.
    • over 11 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • Re: Creating new polygon element (type 106)

    Jeff Bielefeld
    Jeff Bielefeld
    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…
    • over 11 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • Re: Looks like methode "ZoomInView" in the xft object is not working in the new SS3 version

    Jeff Bielefeld
    Jeff Bielefeld
    Erik, While preparing a test case to distribute to my colleagues for additional testing I was able to replicate what you've described. Please do the following for me to confirm: Open your Zoom.mvba test application In the Microsoft Visual Basic…
    • over 11 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • Reset locateOp

    MajorStation
    MajorStation
    Hi all, I am having trouble with the xft library locateOp. When I include it in a loop, it still contains the features from the previous locate operations and appends the new results to it. I posted here because there is no VBA forum under geospatial…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • Re: Reset locateOp

    Jeff Bielefeld
    Jeff Bielefeld
    Mike, Robert is correct. You need to move... Dim fe As FeatureEnumerator Set fe = oLocateOp.GetLocatedFeatures Dim i As Integer Do While fe.MoveNext i = i + 1 Loop Debug.Print "fe.count=" & i ...inside the body of the ILocateOpEvents_OnFinished…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA 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
  • 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: 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: 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: 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: 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: 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: 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: 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: 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
  • 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
<>