'Enterprise architect: Get center values of opened viewed diagram

I have open and active diagram in EA (15.2). And I want to get [x,y] position of viewed part of this diagram. The goal is to place class here by scripting (VBS).

Do you have any suggestion where is this information stored?

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source