How to know(get) all X, Y valuse of divided line in VBA?

How to know(get) all X, Y valuse of divided line in VBA?

Anonymous
Not applicable
1,310 Views
2 Replies
Message 1 of 3

How to know(get) all X, Y valuse of divided line in VBA?

Anonymous
Not applicable

Hello,

I have already read other post like 'Measure or divide command in vba'.

But, I couldn't find good solution about my question.

Can you Show me the sample demo source how to get(know) all(/each) X, Y values of divided line in VBA?

Thanks,

0 Likes
1,311 Views
2 Replies
Replies (2)
Message 2 of 3

parikhnidi
Advocate
Advocate

Can you elaborate further -

How many segments you need line to divide into? And, are all segments equal length?

Nimish

0 Likes
Message 3 of 3

Sea-Haven
Mentor
Mentor

Its simple maths take start and end point X' & Y's get difference then use divide to work out step size and add to X and Y for points required. This is for a line only arcs and circles use angles and rad. If you have plines make a dummy layer then use "DIVIDE" and get the points in a selection set so produce X&Y.

0 Likes