gdi explorer and vba

Hi ,

 

i want to programmatically open and query a oracle spatial graphical source.

Is there any sample code available ?

Thanks, Stefan.

 

  • Stefan,

    As mentioned, the Bentley Map V8i (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 this most recent Bentley Map release. For Bentley Map V8i (SELECTseries 1) you should be able to use/adapt code from the referenced "xfmOracleExtensions" example to establish an Oracle Spatial graphical source connection from a VBA application.

    Regards,

    Jeff Bielefeld [Bentley]



  • Hi Jeff,

    I am currently forced to work with Map SS1, which still lacks the "gdi connect ..." Keyins.

    I also could not find the GeoDataInterchangeAPI.chm help file for the ss1 release.

    I just applied to the Geospatial Desktop Platform.

    Thanks, Stefan.

  • 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 Oracle Spatial layers. Please see the "Interoperability Key-ins" section of the Bentley Map help file for additional information.

    If additional customization is required, then the GeoDataInterchange managed .NET assemblies could be used. In Bentley Map V8i (SELECTseries 2) the ...\Bentley\Documentation\GeoDataInterchangeAPI.chm compressed help file is delivered which documents the .NET related classes.

    As you may know, one approach to exposing those .NET capabilities to VBA could be done by crafting a COM server which encapsulates the desired functionality. An example of doing just that is available in "xfmOracleExtensions" of the "Bentley Map - Development and Product Customization Guide" which allows a VBA application...

    ...to perform custom Interoperability functionalities with an Oracle Spatial graphical source.

    If you are currently a BDN (Bentley Development Network) partner or current SELECT subscriber you can request and obtain access to additional information available in the online "Bentley Map - Development and Product Customization Guide". If interested, please use the Geospatial Desktop Platform Account Request Form listing myself (Jeff Bielefeld) as the Bentley contact.

    Once approved, you will be granted access to the Geospatial Desktop Platform extranet site which hosts the new "Bentley Map - Development and Product Customization Guide" a frequently updated online resource for anyone interested in learning more about customizing or developing applications for the Bentley Map product line, including the new Bentley Map V8i (SELECTseries 2) releases.

    Regards,

    Jeff Bielefeld [Bentley]