Sample snippet for compas_gh for python blocks

Hi, i would like to implement some cool compas features (also the tna feature) in a Grasshopper pipe.
Therefore, I thought of using compas in grasshopper, but apparently I fail.

Maybe I didn’t find it, but is there a code snippet example how to implement tna and fea in compas_gh.

Thank you.

can you post what you tried so far and didn’t work?