Extracting texts from Part list columns and assigning as strings

Hi,

I am new to .NET programming and NX Open. But I figured out a way to extract the text from draft notes. Similarly, I need to extract text (not an attribute) from the Parts list from particular columns and need to store it as separate strings. It would be great if you help in extracting those text into an excel file.

Note:
Part list contains Bill of Material with part numbers in the second column and for example, the attribute value for part number looks like "<W$=@DB_PART_NO>".

Thanks!

Notes and parts lists often have "automatic text" that references an attribute or expression. You can use the .GetEvaluatedText method to access the output text that is shown to the user.

An example is here:
http://nxjournaling.com/comment/2349#comment-2349