# Question about draw multiple line segment in render view

**URL:** https://discourse.paraview.org/t/question-about-draw-multiple-line-segment-in-render-view/12283
**Category:** ParaView Support
**Created:** [June 12, 2023, 3:24am UTC](https://discourse.paraview.org/t/question-about-draw-multiple-line-segment-in-render-view/12283 "2023-06-12T03:24:13Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Venke](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/6de8d8/32.png) [@Venke](https://discourse.paraview.org/u/Venke)
#### Post date: [June 12, 2023, 8:23am UTC](https://discourse.paraview.org/t/question-about-draw-multiple-line-segment-in-render-view/12283/2 "2023-06-12T08:23:48Z")

</div>

Hi,  
you can use the Calculator to generate vectors (in my case I have xyz-file input which has the automatic column names coordsX, coordsY, coordsZ, var0, var1, var2) with `(var0-coordsX)*iHat+(var1-coordsY)*jHat+(var2-coordsZ)*kHat`. If you throw a Glyph filter on the calculator, you can use its Result (Result Array Name) to generate Arrows. If you set the tip length to zero, you have your line segments. Use Result for Orientation and Scale of the Arrow Glyphs.

Hope this helps. Cheers, Venke

---

_[View the full topic](https://discourse.paraview.org/t/question-about-draw-multiple-line-segment-in-render-view/12283)._
