I'd like to read a custom property from a view in an automation script.
I know that it is possible to do that with Element or service.
Service service = engine.FindService("ServiceName");
but does anybody know how to get a property of a view? Unfortunatly nothing found in docs.
Thanks in advance
You can achieve this by using the Class Library:
IDms myDms = engine.GetDms();
IDmsView myView = myDms.GetView("my View Name");
IDmsViewProperty myProperty = myView.Properties.SingleOrDefault(x => x.Definition.Name == "property name");