# Layer Collapse

**URL:** <https://discourse.mcneel.com/t/layer-collapse/224201>\
**Category:** Rhino Developer\
**Tags:** windows\
**Created:** [November 2, 2026, 5:05pm UTC](https://discourse.mcneel.com/t/layer-collapse/224201 "2026-11-02T17:05:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harold1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/harold1/32/649283_2.png) [@Harold1](https://discourse.mcneel.com/u/Harold1)\
**Post date:** [November 2, 2026, 5:05pm UTC](https://discourse.mcneel.com/t/layer-collapse/224201/1 "2026-11-02T17:05:07Z")

</div>

Is there a way to collapse a layer with Python code?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/3/f/b3ff4237064ba5189ac88084ab57ad7dc33d6194.png)

---

<div class="post-metadata">

**Author:** ![Harold1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/harold1/32/649283_2.png) [@Harold1](https://discourse.mcneel.com/u/Harold1)\
**Post date:** [November 2, 2026, 5:12pm UTC](https://discourse.mcneel.com/t/layer-collapse/224201/2 "2026-11-02T17:12:53Z")

</div>

Nevermind i found it.

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/f/9/cf92e8c1d7bfb4897db0981d808fd07bcb477ff9.png)
