Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Frequent Contributor
Posts: 159
Registered: ‎01-14-2018
Accepted Solution

Creating new warehouse

Dear all,


I am trying to automate creating a new warehouse and be able to choose the "Access Template" and choose the "Access database" as in the below image,


new WH.jpg


Could anyone help in this?

Thanks a lot



Technical Evangelist
Posts: 556
Registered: ‎09-11-2015

Re: Creating new warehouse

Hi Khaled,


you can use the GDatabase.CreateDatabase method, which should work for Access (and only for Access), but the easiest way is to copy the file "C:\Program Files (x86)\Hexagon\GeoMedia Professional\Templates\Warehouses\normal.mdt" to a new location and rename it to your_name.mdb.