Select to view content in your preferred language

Batch Generation of 3D Animations Similar to Map Series Functionality

225
1
11-14-2024 11:08 AM
mwrona
by
New Contributor

Hello everyone,

I'm interested in creating 3D animations in ArcGIS Pro and was wondering if there is a way to generate these animations in batch mode, similar to how we can create multiple maps using the Map Series functionality.

Specifically, I would like to automate the creation of 3D animations based on a set of parameters or input layers, without manually configuring each animation individually. Does ArcGIS Pro support this kind of batch animation workflow, or are there any workarounds or recommended tools that could achieve a similar result?

Thank you in advance for your insights!

0 Kudos
1 Reply
NathanShephard
Esri Contributor

Hi mwrona,

There is public API for most of the animation creation and editing as well as playback and exporting.  It could be used to make multiple animations on a single map, as well as on multiple maps. Below are some key parts for you to investigate, and a link to a sample / intro tutorial.

https://developers.arcgis.com/documentation/arcgis-pro-sdk/tutorials/create-animation-keyframes/

 

Map.Animation  // Provides access to the animation api for creation and editing animation.

Map.Animation.CurrentAnimationName // Shows the name of the current animation and allows switching between the other animations on this map.

Map.Animation.AnimationNames // Returns the names of all existing animations on this map.

Map.Animation.Tracks[0].AnimationName // Get or update the animation name.

 

Map.Animation.Tracks  // Holds the following types of tracks in this order, which you would need to cast to for creating keyframes.

CameraTrack, LayerTrack, TimeTrack, RangeTrack

CreateKeyframe // Only available after casting the track to the appropriate type. Can create a new keyframe or override an existing one.

DeleteKeyframe // Available for any track.

// Individual Keyframes can be edited as well, but would need cast for the type specific properties.

MapView.Animation // Provides access to api for animation playback and export.

 

Hope this helps!

Thanks, Nathan.

0 Kudos