Get Beam Offset from System Line

Hi All,

I’m trying to extract beam offset information - i.e. the distance in the X, Y and Z direction, that a beam is offset from its system line.

So far, I’ve managed to pull the information by subtracting the values from “Coordinate System at System Start” property from the “Coordinate System at Physical Start” property, but this requires a whole lot of string manipulation. I’m wondering if there’s an easier cleaner way to do it?

Thanks in advance.