# How to select all polylines on the specified layer

**URL:** <https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291>\
**Category:** Civil 3D\
**Created:** [May 24, 2024, 12:38pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291 "2024-05-24T12:38:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![avetik.kagramanian](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@avetik.kagramanian](https://forum.dynamobim.com/u/avetik.kagramanian)\
**Post date:** [May 24, 2024, 12:38pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291/1 "2024-05-24T12:38:55Z")

</div>

hi  
I need to get as list which will contain all polylines on the specified layer. How to do that?

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [May 24, 2024, 12:55pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291/2 "2024-05-24T12:55:43Z")

</div>

What have you tried so far?

My workflow would be

1. Get all polylines
2. Get their layers
3. Filter by bool mask and use the == node and ask for the layer name.  
Output from the Filter by bool mask should give you the polylines you want.

---

<div class="post-metadata">

**Author:** ![avetik.kagramanian](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@avetik.kagramanian](https://forum.dynamobim.com/u/avetik.kagramanian)\
**Post date:** [May 24, 2024, 1:08pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291/3 "2024-05-24T13:08:21Z")

</div>

How to get all polylines (the first step) ?

---

<div class="post-metadata">

**Author:** ![avetik.kagramanian](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@avetik.kagramanian](https://forum.dynamobim.com/u/avetik.kagramanian)\
**Post date:** [May 24, 2024, 1:13pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291/4 "2024-05-24T13:13:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/41f12f8f235c5f5c13777390bac0c252a4d4dd3b.png)  
got it

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [May 24, 2024, 1:15pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291/5 "2024-05-24T13:15:20Z")

</div>

Great.  
And then there is a node (not at my computer), Layer.Object (I think)

---

<div class="post-metadata">

**Author:** ![avetik.kagramanian](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@avetik.kagramanian](https://forum.dynamobim.com/u/avetik.kagramanian)\
**Post date:** [May 24, 2024, 1:24pm UTC](https://forum.dynamobim.com/t/how-to-select-all-polylines-on-the-specified-layer/101291/6 "2024-05-24T13:24:49Z")

</div>

yeah, it works  
thank you so much

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/7/877c91ec676ee71c28ced03c888dcff8c141bb25.png)
