There is also the arcpy.mapping.UpdateDataSources function which has bulk data source updating capability on map documents.
Not entirely sure what you mean. Right now there is a workflow that might work for you to add data to an MXD:Save out a layer file with the desired symbology, with any data sourceUse arcpy.mapping.Layer(filename) object to get a handle to it in PythonChange the layer.dataSource property to your new data source (make sure it's the same feature type as the saved layer; point/poly/etc)Use arcpy.mapping.AddLayer to add the edited layer to the desired dataframeThere is also the arcpy.mapping.UpdateDataSources function which has bulk data source updating capability on map documents.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.