# Name: ExportMGCPMetadata_sample.py
# Description: Export MGCP metadata from a geodatabase to an MGCP metadata XML file
# Import System Modules
import arcpy
# Check Out Extensions
arcpy.CheckOutExtension('Defense')
# Setting Local Variables
cell_features = r'C:\Testing\ExportMGCPMetadata\MGCP_TRD_4_3.gdb\MGCP_Metadata\Cell'
export_location = r'C:\Testing\ExportMGCPMetadata'
# Export MGCP metadata XML file
arcpy.topographic.ExportMetadata(cell_features, export_location)
# Check In Extensions
arcpy.CheckInExtension('Defense')