Finding a Direction

Hi,

What is the simplest method of finding the perpendicular angle / direction of the below beam (red arrow)

I used this :

!GenDirPerp = !!ce.zdir.orthogonal(!!ce.plstart.nar.direction(!!ce.plstart.nal))

But with this method I don't know if it's going to give me the up or down version of the direction. If I swap nar  / nal I get the opposite, but I still don't know which one it will return. I specifically need to know which one it will return


Thanks