I have a similar codeblock in my application as shown here in the Pro SDK Wiki snippets. I run this code when I need to access the map pane by name. It creates a new map pane everytime this code is run, is there a way to check and retrieve or select existing pane and if not able then to create it.