Product(s): | MicroStation | ||
Version(s): | 10.14.02.01 | ||
Environment: | N\A | ||
Area: | Properties | ||
Subarea: | Item Types |
Expression to extract Start, End coordinates of a line element
Request from User:
Can you please share Expression values to extract start, end coordinates of line elements
Following expressions can be used to extract the line coordinates
StartX : this.GetElement().Segments[0].Start.X
StartY : this.GetElement().Segments[0].Start.Y
EndX : this.GetElement().Segments[this.GetElement().Count-1].End.X
EndY : this.GetElement().Segments[this.GetElement().Count-1].End.Y
communities.bentley.com/.../Lines.dgn
Original Author: | Leonard Jones |