Numéro d’ID de bogue |
BUG-000155166 |
Envoi | January 18, 2023 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS Pro |
Version trouvée | 3.0.3 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
The scripts provided to reproduce the issue works as expected.
#mf.panToExtent(desc.extent) - This pans correctly and does not change scale.
mf.camera.setExtent(desc.extent) - This correctly sets the map frame extent.
mf.zoomToAllLayers(desc.extent) - This is wrong syntax. There are two optional input parameters that consider selection and symbol when zooming. Passing in an extent object throws an error.
Also, when writing a script where the application update can be seen appropriately, the ArcGISProject('CURRENT') keyword must be used and not reference a project on a disk. If the project on a disk needs to be updated, then pass in the full path, save the changes and then open the updated project.
Étapes pour reproduire
ID de bogue: BUG-000155166
Logiciel: