I am using the latest version of QGIS 3.34 and trying to dynamically edit and update properties for Elevation Profiles in QGIS Map Atlas Layouts.
I am hoping to update layer and display symbols and other settings for a number of Elevation Profiles (see Class documentation QgsLayoutItemElevationProfile items) in a Map Atlas Layout when moving from one atlas page to another, (for over a 100 pages per atlas).
In order to refer to each of the different elevation profile items to change their settings I have been trying to find a way to refer to the displayname
or the id (manually set in item id of the Elevation Profile). It looks like this is accessed using displayname or id using the class QgsLayoutItem.
After extensive searching for what seems relatively new functionality I cannot find any python examples on the use and updating of an QgsLayoutItemElevationProfile
I have tried many attempts to establish the name of each Elevation Profile. I have tried using selectedLayoutItems from the class QgsLayout but it returns an object identifier that I cant work out how to use.
Any examples on how to refer to Elevation Profiles by qgslayoutitem displayname or id and to update their properties?