Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rondomat

Pages: [1]
1
Thanks! I will issue a feature request.

Cheers,
Rondomat

2
Hi,

I'm looking for a (exact) 'Locate in current Diagram/In Diagrams...'-like feature in the Automation interface.

Currently I have used the exposed methods from the automation API to implement a functionality, which is close to, but not exact like the required feature mentioned above:

What's missing is the possibility to move an element, being outside of the diagram's visible area back into the visible area (or the other way round, to move the visible area of a diagram so, that the selected element is visible).

This is possible if I choose 'Locate in current Diagram' or 'In Diagrams...' context menu on a selected element in the Project Browser. However I was not able to implement this exactly via the API. I discovered, that selecting the diagram object on the diagram (via adding the object to the 'Diagram.SelectedObjects.AddNew()' collection) works well, but it does not force the diagram object to be inside the visible area.

Is there a way to accomplish this by using the API?

Pages: [1]