Promis.e API (C#) - Retrieving the Device Tag text from the drawing, not from the database.

Promis.e CONNECT (Update 13) (should also work with Promis.e SS7 V8i)

I would like to validate the data in one drawing page against the contents of that specific page in the database.

I would like to know if it is possible to get a symbol's name from the drawing text itself (equivalent of Device Tag field in the "Device Properties") instead of the value in the database. I have tried using the DBGet method in the Symbol class contained in the ECT.ECAD.API namespace, but that retrieves the attributes from the database.

Will the LoadFromHandle method in the LTSymbol class belonging to the ECT.ECAD.API.LT namespace work for this? If not, is there any other way to retrieve a symbol's text using the API?

Thanks in advance.

Parents
  • Hello Satish,

    My users are driving this requirement. 

    There were two cases in one page (that I am aware of in 6 years that I have been involved in helping our users with Promis.e) where the "Device Properties" form's "Device Tag" field value of a circuit was different than the one that the symbol displayed in the drawing.

    Mismatching information in the drawing vs. the database can cause real trouble in our downstream processes. I was thinking of updating my C# API custom .dll to include a process that could go through all symbols and compare their Device Tag values against their texts and alert the user if there are any discrepancies so they could take action.

Reply
  • Hello Satish,

    My users are driving this requirement. 

    There were two cases in one page (that I am aware of in 6 years that I have been involved in helping our users with Promis.e) where the "Device Properties" form's "Device Tag" field value of a circuit was different than the one that the symbol displayed in the drawing.

    Mismatching information in the drawing vs. the database can cause real trouble in our downstream processes. I was thinking of updating my C# API custom .dll to include a process that could go through all symbols and compare their Device Tag values against their texts and alert the user if there are any discrepancies so they could take action.

Children
No Data