Extract Beam Directions via API

Is there a method/property that stores/retrieves beam directions 1 and 2 in terms of the global CS? 

I am aware how SW assigns these directions, but I am doing some post-processing and just need to map the forces/moments in each beam to the global CS programmatically.