How to get in all rows with values for a table paramater via automation script?


How to use this method? any code sample
In my code I want to get like a table data for specific column in table

Thanks to Samuel you already have a sample
Hi Apurva,
One possible solution is to use the QueryData method with a ColumnFilter from the IDmsTable interface.
Below is a small snippet demonstrating how to use this method.
IDms dms = engine.GetDms();
IDmsElement element = dms.GetElement(/*Element Name*/);
IDmsTable table = element.GetTable(/*Table PID*/);ColumnFilter[] columnFilters = new[] {
new ColumnFilter{ Pid = /*Column PID*/, Value = /*value to compare*/, ComparisonOperator = ComparisonOperator.Equal},
};List<object[]> rows = table.QueryData(columnFilters);
Hi Apurva,
can you check if you can use GetTable:
https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Core.DataMinerSystem.Common.IDmsElement.GetTable.html
and then some method of your choice from here: https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Core.DataMinerSystem.Common.IDmsTable.html