Is there an easy way to get a line's bearing from VBA?
Regards
Adrian
Hi Adrian,
the direction and bearing are derivative information and you have count it yourself. But it's still "easy way" to do it, compute angle (there is example how to create angle from points in MicroStation VBA help) and in the next step transform the angle to bearing, which is "only" about testing angle to create correct bearing N/S and +/- format.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Answer Verified By: Adrian S