# Name: EnableIndoorPositioning_example2.py
# Description: Creates an empty file geodatabase and creates
# the ArcGIS IPS tables in the file geodatabase.
# Import system modules
import arcpy
# Set local variables
gdb_path = r"C:\IndoorPositioning"
gdb_name = "ExampleDatabase.gdb"
# Call the CreateFileGDB tool to create a new file geodatabase
arcpy.management.CreateFileGDB(gdb_path, gdb_name)
# Call the EnableIndoorPositioning tool to create the ArcGIS IPS
# tables in the empty file geodatbase
arcpy.indoorpositioning.EnableIndoorPositioning(r"{0}\{1}".format(gdb_path, gdb_name))