How do I include an element to an extra view through code (QAction) run from a connector?
I do not want to restart the element when it moves.
Searching the documentation I could not find the answer.
Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best
Hi Mieke,
The following code can be used to add the element to an additional view. Not sure if the element would not restart though.
IDms dms = protocol.GetDms();
IDmsView view = dms.GetView(“view name”);
IDmsElement element = dms.GetElement(“element name”);
element.Views.Add(view);
element.Update();
Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best