# Draw a line on the z axis

**URL:** <https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386>\
**Category:** Geometry\
**Created:** [August 2, 2018, 11:27am UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386 "2018-08-02T11:27:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkwave](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/d/dec6dc/32.png) [@darkwave](https://forum.gidsimulation.com/u/darkwave)\
**Post date:** [August 2, 2018, 11:27am UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/1 "2018-08-02T11:27:26Z")

</div>

Hello  
I want to draw a line on the Z axis but when i click on point (i.e 0 0 3) line drawn on XY axis  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [August 3, 2018, 1:47pm UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/2 "2018-08-03T13:47:32Z")

</div>

I don’t understand what you said  
You can create for example a line in z direction from the point (0,0,0) to point (0,0,3) with something like this:

Mescape Geometry Create Line (or menu Geometry-\>Create-\>Straight line)  
0 0 0  
0 0 3

---

<div class="post-metadata">

**Author:** ![darkwave](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/d/dec6dc/32.png) [@darkwave](https://forum.gidsimulation.com/u/darkwave)\
**Post date:** [August 3, 2018, 5:07pm UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/3 "2018-08-03T17:07:57Z")

</div>

thanks for your attention  
Please watch this tutorial video in youtube ([https://www.youtube.com/watch?v=ttAqlFEfr9A&index=6&list=PLy36D5yzeU1fE0S0osYO5zLVS8JQ6tvEF](https://www.youtube.com/watch?v=ttAqlFEfr9A&index=6&list=PLy36D5yzeU1fE0S0osYO5zLVS8JQ6tvEF)).  
in this example you can see how he draw lines in z axis for create cross section of beam but i can not do the same because my line create in xy axis  
is there any option for this?  
best regards

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [August 3, 2018, 6:13pm UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/4 "2018-08-03T18:13:36Z")

</div>

Doing the same of the start of the video I am able to create the three initial points, using the ‘coordinates window’  
there are created the points with coordinates  
0 0 0  
0.6 0 0  
0.6 0 0.1  
and the points are located as I expected.

If do you have an old version of GiD update to the current 14.0.1 (and also try to use the last available OpenSees problemtype)  
but I think that this basic operation must work in all GiD versions.

What is your GiD version? (See Help-\>About…)  
and the OpenSees problemtype version? (See GiD+OpenSees-\>About)

---

<div class="post-metadata">

**Author:** ![darkwave](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/d/dec6dc/32.png) [@darkwave](https://forum.gidsimulation.com/u/darkwave)\
**Post date:** [August 13, 2018, 2:18pm UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/5 "2018-08-13T14:18:01Z")

</div>

Hi  
I am using the last version of both software  
As u can see in this video ([Untitled](https://vimeo.com/284727181)) i can draw lines with command bar but i cant do the same with clicking the mouse  
Is there any solution for this problem?

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [August 18, 2018, 4:03pm UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/6 "2018-08-18T16:03:54Z")

</div>

To click an existing point you must be in ‘join’ mode, then GiD expects an integer id of the point (or click in screen). You are in ‘creation-point’ mode, then GiD expects 3 real coordinates x,y,z (separated by comma or spaces). To switch mode the easiest way is to press -a (a lowercase)

---

<div class="post-metadata">

**Author:** ![darkwave](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/d/dec6dc/32.png) [@darkwave](https://forum.gidsimulation.com/u/darkwave)\
**Post date:** [August 21, 2018, 9:10am UTC](https://forum.gidsimulation.com/t/draw-a-line-on-the-z-axis/2386/7 "2018-08-21T09:10:06Z")

</div>

thanks for your answer, it solved my problem.
