Description
The Export Diagram Layer Definition tool requires the active map to reference the network diagram layer specified for the Input Network Diagram Layer parameter.
Solution
Click the diagram map tab referencing the network layer diagram specified as input so it becomes the active diagram map view.