Element Tag Offset - Element orientation

Hi all,

I’m trying to tag elements with Dynamo and I’m having problems to define the offset I want the tags to have. I’m not able to define the offset relatively to each element.
What I want to do is offset the tag as shown in the picture below


I tried to define an offset vector but it is not relative to the element (Green coordinate system), so if the element is rotated it’s not working.

Is there a way to define an offset vector based on the “local coordinate system” of the element?

I searched in different posts in this forum but didn’t find a solution.
I’m still new to Dynamo, so your help is much appreciated! I already learned a lot thanks to this forum.
Thanks!