How can I get the type of a dimension (horizontal, vertical or aligned) and then access its 1st, 2nd extension and dimension line defining points? Thank you in advanced