Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: MVBA Modify Length of Line String

$
0
0

Hi Aldrin,

Aldrin Almia:
However, ny problem was how to rewrite the length.

Such request has no sense. The line length is result from geometrical properties of the line: It's the distance between start and end point in the case of simple line or sum of distances between vertices if the element is linestring. As such, line length is not the source property of the line, is not stored anywhere and because it's calculated online, it's read-only information.

If you want to change the length of a particular line element, you have to change a position of one or more line vertices. The line length will change accordingly automatically.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>