Block attribute extraxt

can someone tell me the correct format to setup my text template file to be able to extract part number, REF des, and X and Y info from my blocks? I have a template we use to use with autocad and it worked but when we try it in draftsight it gives me an error for bl:x N009004

 

Can someone please help me out?

 

Thanks in advance,

Ben