Message 1 of 9
Lenth Calculations

Not applicable
02-27-2004
07:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi every body,
I am using VBA for automation of drawing. In this I am drawing a line.To draw a line using VBA, you need to enter Strat Point & End Point. For general cases, I have length of line and its angle of full circle bearing. For example--I want to darw-
@100'<156d24'45"
But in VBA, i need to enter start point and end point. I tried it using Trigometric formula, to get the end point as i am provided with length and its angle. But could not generalize formula for all angles.
Does any body have generalized method to find end point from start point for all angles?
or
It can be directly draw a line with length and angle in VBA?
Second problem--
How can set preferences like direction of angles(By default for my template is east, but i want to make it North, want to measure clockwise) using VBA.
I am using VBA for automation of drawing. In this I am drawing a line.To draw a line using VBA, you need to enter Strat Point & End Point. For general cases, I have length of line and its angle of full circle bearing. For example--I want to darw-
@100'<156d24'45"
But in VBA, i need to enter start point and end point. I tried it using Trigometric formula, to get the end point as i am provided with length and its angle. But could not generalize formula for all angles.
Does any body have generalized method to find end point from start point for all angles?
or
It can be directly draw a line with length and angle in VBA?
Second problem--
How can set preferences like direction of angles(By default for my template is east, but i want to make it North, want to measure clockwise) using VBA.