# Idea - mini properties window

**URL:** <https://discourse.mcneel.com/t/idea-mini-properties-window/181446>\
**Category:** Rhino Developer\
**Tags:** windows\
**Created:** [May 5, 2024, 1:47pm UTC](https://discourse.mcneel.com/t/idea-mini-properties-window/181446 "2024-05-05T13:47:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![djordje](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/djordje/32/747634_2.png) [@djordje](https://discourse.mcneel.com/u/djordje)\
**Post date:** [May 7, 2024, 8:13pm UTC](https://discourse.mcneel.com/t/idea-mini-properties-window/181446/10 "2024-05-07T20:13:47Z")

</div>

Hi @Rhino_Bulgaria ,

Save the python code below as a .py file and [call it by creating a new Alias](https://discourse.mcneel.com/t/running-python-scripts-from-aliases-or-toolbar-buttons/47290):

```python
import rhinoscriptsyntax as rs

id_L = rs.GetObjects('Select objects to show their name and layer', preselect=True)

for id in id_L:
    name = rs.ObjectName(id)
    layer = rs.ObjectLayer(id)
    print( 'name: {}, layer: {}'.format(name, layer) )

```

I think you will figure out, if you would like to remove “name” or “layer” from the command menu printout.

---

_[View the full topic](https://discourse.mcneel.com/t/idea-mini-properties-window/181446)._
