• Re: Looks like methode "ZoomInView" in the xft object is not working in the new SS3 version

    Jeff Bielefeld
    Jeff Bielefeld
    Erik, As suspected it appears the proper transform is not being applied when the VBA code is started directly from the "Project Manager" so I've filed an issue to have the matter resolved in the upcoming Bentley Map V8i (SELECTseries 3) 08.11.09 maintenance…
    • 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, I've tested using .91 and .95 builds with both performing the ZoomInView method as expected. I will have some of my other colleagues perform independent tests after which I will contact you with results.
    • over 11 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • How To handle locateOp in C# ?

    Adam Jamison
    Adam Jamison
    I've been playing around in c# again and started doing some integration between some other applications and Map I'm currently trying to figure out how to handle the locateOp from C# console application. It's probably a lack of information as how the…
    • 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: Where to read actual PlotScale and selected feature in Comand Manager

    Jeff Bielefeld
    Jeff Bielefeld
    Greetings Erik, Using XFT the following approach should work. Dim plotscaleTypeString Dim plotscaleTypeValue As New xft.InputValue plotscaleTypeValue.SetTypeAndValue ValueType_DWGSCALENAME, "" plotscaleTypeString = plotscaleTypeValue.EvaluateAsString…
    • 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, You sample code works fine after adjusting the ZoomFactor argument such as follows: oFeature.ZoomInView CommandState.LastView, 1#, 50#, True I would also recommend setting the last argument to True to handle those features which may have…
    • 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
  • 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
  • Creating new polygon element (type 106)

    wirring
    wirring
    Hi I have some problems in understanding how to work with the new polygon_colletion element in Bentley Map. It should be a better way to handle multi shape element than grouped_hole etc. Using the method in exampel Jeff gives in http://communities…
    • Sø_med_Ø_test_af_elem_106.dgn
    • over 11 years ago
    • Geospatial Programming
    • Geospatial Programming 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
    ...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: 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: 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: 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: 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: 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: 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: 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
<>