# Layer Selection

**URL:** <https://discourse.mcneel.com/t/layer-selection/149596>\
**Category:** Rhino\
**Tags:** windows, layers\
**Created:** [October 24, 2022, 2:33pm UTC](https://discourse.mcneel.com/t/layer-selection/149596 "2022-10-24T14:33:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexLazar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/alexlazar/32/410704_2.png) [@AlexLazar](https://discourse.mcneel.com/u/AlexLazar)\
**Post date:** [October 24, 2022, 2:33pm UTC](https://discourse.mcneel.com/t/layer-selection/149596/1 "2022-10-24T14:33:26Z")

</div>

Is there anyway that to show which layer the selected object belongs to when I select the objet?

Thanks a lot,  
Aras

---

<div class="post-metadata">

**Author:** ![Gijs](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/gijs/32/769882_2.png) [@Gijs](https://discourse.mcneel.com/u/Gijs)\
**Post date:** [October 24, 2022, 2:58pm UTC](https://discourse.mcneel.com/t/layer-selection/149596/2 "2022-10-24T14:58:06Z")

</div>

one way:  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/2/b/72b5ba66ca621deb1e413e4773cb98d159210241.png)

or:  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/3/a/a3a82fd653a57c4200ebf6347e9f81dd88b2d102.png)

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [October 24, 2022, 2:58pm UTC](https://discourse.mcneel.com/t/layer-selection/149596/3 "2022-10-24T14:58:22Z")

</div>

Hi Aras - Yes and no - you can do this from the ‘Tools’ icon in the layer panel; in V8/WIP there is a `HighlightObjectLayers` command as well. Here is a script that does this in V7 - I recommand making an alias or button for convenience -

[HighlightLayers.py](https://discourse.mcneel.com/uploads/short-url/zdqH9al2lv0nDidGWQpjLBLEYEz.py) (683 Bytes)

To use the Python script use `RunPythonScript`, or a macro:

`_-RunPythonScript "Full path to py file inside double-quotes"`

-Pascal

---

<div class="post-metadata">

**Author:** ![Alan\_Farkas](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/alan_farkas/32/766591_2.png) [@Alan\_Farkas](https://discourse.mcneel.com/u/Alan_Farkas)\
**Post date:** [October 24, 2022, 4:14pm UTC](https://discourse.mcneel.com/t/layer-selection/149596/4 "2022-10-24T16:14:24Z")

</div>

Can I piggyback this and ask if there’s already a one-click (context-click, etc) solution for selecting “all objects on same layer”?

(As opposed to Show Object Layer, and then Select Objects on Layer/Sublayers.)
