AnsweredAssumed Answered

Explicitly determine whether a PI Point exists via AF SDK

Question asked by Chris_Hawkins on Dec 19, 2016
Latest reply on Sep 5, 2017 by mdspath

I am using AFAttribute.PIPoint within my C# code. When an Attribute is not as PO Point this returns null - which is fine. However when it is a PI Point BUT the PI Point does not yet exists (for good reason) I get an exception. What is the best way to handle this? Do I simply catch the exception or is there a method in AF to check whether a PI Point exists?

Outcomes