# Select all lines in DWG layer

**URL:** <https://forum.dynamobim.com/t/select-all-lines-in-dwg-layer/52517>\
**Category:** Revit\
**Tags:** dwg, topography\
**Created:** [July 1, 2020, 10:10pm UTC](https://forum.dynamobim.com/t/select-all-lines-in-dwg-layer/52517 "2020-07-01T22:10:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcarey\_PCA](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pcarey\_PCA](https://forum.dynamobim.com/u/pcarey_PCA)\
**Post date:** [July 1, 2020, 10:10pm UTC](https://forum.dynamobim.com/t/select-all-lines-in-dwg-layer/52517/1 "2020-07-01T22:10:12Z")

</div>

Hi, I wish to draw a subregion in a toposurface based on a number of complex lines on a dwg layer. Is it possible to use dynamo to select all lines on a DWG layer while in sketch mode?

Apologies I have very little experience of Dynamo

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 3, 2020, 1:25pm UTC](https://forum.dynamobim.com/t/select-all-lines-in-dwg-layer/52517/2 "2020-07-03T13:25:16Z")

</div>

This may help you out some: [Create Subregions from CAD file - #19 by jacob.small](https://forum.dynamobim.com/t/create-subregions-from-cad-file/20899/19)

Note you want to run this outside of a transaction so don’t start the subregion command.
