# Constrain to the Z axis

**URL:** <https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336>\
**Category:** Rhino for Windows\
**Created:** [October 2, 2015, 1:58am UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336 "2015-10-02T01:58:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShubinJ](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shubinj/32/521621_2.png) [@ShubinJ](https://discourse.mcneel.com/u/ShubinJ)\
**Post date:** [October 2, 2015, 1:58am UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/1 "2015-10-02T01:58:32Z")

</div>

I wish to draw a line from from the cplane up…meaning in the direction of the z axis. Much like ortho does for x and y. Elevator mode raises my beginning point along the z but does not allow me to draw a straight up and down polyline in perspective view. What is the keyboard shortcut for this? I can not seem to find one that works.

Thanks!

---

<div class="post-metadata">

**Author:** ![jeff\_hammond](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeff_hammond/32/553258_2.png) [@jeff\_hammond](https://discourse.mcneel.com/u/jeff_hammond)\
**Post date:** [October 2, 2015, 3:00am UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/2 "2015-10-02T03:00:26Z")

</div>

> [@ShubinJ](#):
>
> Elevator mode raises my beginning point along the z but does not allow me to draw a straight up and down polyline in perspective view.

click your beginning point first.  
ctrl-click on the beginning point again (which triggers elevator mode).  
you will now be locked to the Z axis.

---

<div class="post-metadata">

**Author:** ![ShubinJ](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shubinj/32/521621_2.png) [@ShubinJ](https://discourse.mcneel.com/u/ShubinJ)\
**Post date:** [October 3, 2015, 4:56am UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/3 "2015-10-03T04:56:19Z")

</div>

A bit much, but glad it’s there. I would of never discovered this on my own. Thanks Jeff.

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/732604_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [October 3, 2015, 1:01pm UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/4 "2015-10-03T13:01:00Z")

</div>

Elevator mode is covered in the User Guide, Accurate Modeling section [http://docs.mcneel.com/rhino/5/usersguide/en-us/index.htm](http://docs.mcneel.com/rhino/5/usersguide/en-us/index.htm) The User Guide and the Level 1 and Level 2 training manuals are worth while reading for any serious user of Rhino. [https://www.rhino3d.com/tutorials](https://www.rhino3d.com/tutorials)

---

<div class="post-metadata">

**Author:** ![schultzeworks](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/schultzeworks/32/488974_2.png) [@schultzeworks](https://discourse.mcneel.com/u/schultzeworks)\
**Post date:** [October 3, 2015, 5:15pm UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/5 "2015-10-03T17:15:15Z")

</div>

Elevator mode can be a bit tweaky and tricky, especially if you have a crowded file or are just getting started.

My favorite way is to use the Line toolbar. I like the ‘ **Line: from midpoint** ’ and chose ‘ **vertical** ’ from the command line options.

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/8/88d0bc5df34e43a256e6814e18f6701bb87f75e9.jpg)

---

<div class="post-metadata">

**Author:** ![jeff\_hammond](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeff_hammond/32/553258_2.png) [@jeff\_hammond](https://discourse.mcneel.com/u/jeff_hammond)\
**Post date:** [October 3, 2015, 5:23pm UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/6 "2015-10-03T17:23:23Z")

</div>

`_Polyline` doesn’t have a vertical option though. (as per the original post)

idk, i personally like how Drag works… just push ctrl while dragging and it goes vertical. (that said, if this were to be incorporated into all commands, there would be a conflict on mac… pushing **command** to go vertical then **tab** to constrain it would actually trigger the osx cmmd-tab shortcut for application switching)

even better would be similar to Moi or SketchUp… the apps sense the user wants to go vertical depending on cursor placement and just does it automatically without any key presses or additional clicks.

---

<div class="post-metadata">

**Author:** ![schultzeworks](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/schultzeworks/32/488974_2.png) [@schultzeworks](https://discourse.mcneel.com/u/schultzeworks)\
**Post date:** [October 3, 2015, 5:28pm UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/7 "2015-10-03T17:28:48Z")

</div>

> [@jeff\_hammond](#):
>
> \_Polyline doesn’t have a vertical option though. (as per the original post)

True. The original post calls it a line and then a polyline in the next sentence. Anyways, you can always make a vertical single line using the process I outlined … then start your polyline from the top endpoint immediately afterwards.

Most of the vertical lines I draw are used as axes, so all I need is a single line.

---

<div class="post-metadata">

**Author:** ![jeff\_hammond](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeff_hammond/32/553258_2.png) [@jeff\_hammond](https://discourse.mcneel.com/u/jeff_hammond)\
**Post date:** [October 3, 2015, 5:33pm UTC](https://discourse.mcneel.com/t/constrain-to-the-z-axis/25336/8 "2015-10-03T17:33:37Z")

</div>

that’s how i do it to… ‘V’ is my alias for **Line Vertical** … and i’ll use that even if needing a polyline with a vertical element …then just join afterwards.

it’s fine and fast enough for me now… but when first using the application, i didn’t come across that immediately and it took a little getting used to explicitly calling for vertical movement… it’s fine now but i do think it could be improved upon.
