Label | Explanation | Data Type |
Multifile Feature Connection Datasets | The datasets to remove from the .mfc file. | Table View |
Derived Output
Label | Explanation | Data Type |
Updated MFC | The input .mfc file with updated datasets. | File |
Removes one or more datasets from an existing multifile feature connection (MFC). This tool only removes the dataset from the MFC file, the source data is not modified.
This tool requires a MFC. To create a MFC, use the New Multifile Feature Connection dialog or Create Multifile Feature Connection tool.
Use this tool to remove a dataset from a MFC to limit the datasets available for analysis. The following are examples:
A removed dataset will no longer be listed in the MFC.
The source data will not be deleted for the removed datasets. Datasets will only be removed from the MFC.
To add a dataset back to a MFC, use the Refresh Multifile Feature Connection tool.
To delete a MFC permanently, delete the .mfc file.
The Remove Dataset From Multifile Feature Connection tool removes an existing dataset from MFC. Additional tools can be used to modify a MFC:
This geoprocessing tool is powered by Spark. See Multifile feature connections to learn more about multifile feature connections and how to use them.
Label | Explanation | Data Type |
Multifile Feature Connection Datasets | The datasets to remove from the .mfc file. | Table View |
Label | Explanation | Data Type |
Updated MFC | The input .mfc file with updated datasets. | File |
arcpy.geoanalytics.RemoveDatasetFromBDC(bdc_datasets)
Name | Explanation | Data Type |
bdc_datasets [bdc_datasets,...] | The datasets to remove from the .mfc file. | Table View |
Name | Explanation | Data Type |
updated_bdc | The input .mfc file with updated datasets. | File |
The following Python script demonstrates how to use the RemoveDatasetFromBDC tool.
# Name: RemoveDatasetFromBDC.py
# Description: Remove specified datasets from one or more multifile feature connection files.
# Requirements: ArcGIS Pro Advanced License
# Import system modules
import arcpy
# Set local variables
datasets = [r"c:\Projects\MyProjectFolder\my_BigDataConnection.mfc\Dataset1",
r"c:\Projects\MyProjectFolder\my_BigDataConnection.mfc\Dataset2"]
# Run Remove Dataset From Multifile Feature Connection
arcpy.gapro.RemoveDatasetFromBDC(datasets)