Hi, there are a number of views that I would like to move under another Parent View. I would like to keep whatever that is under the views that I'm moving unchanged. Can I please get some advice on how I can achieve this using Automation Scripts?
Using the IDmsView class you can override the parent view. Furthermore, since elements and view position in the surveyor are linked to a parent and not fixed otherwise in the surveyor, they will move together with their parent view.
The following code shows how to do it for a single example.
As you can see in the result, the view was moved under the new parent, together with the element.
Hi Bing,
Drag-and-drop editing in DataMiner Cube might be used for this.
Kind Regards,
Jarno
Thanks for your response. There are too many to move using GUI drag and drop. Is there a method similar to the GUI drag and drop that can be used in automation scripts?