# Open 3DM file from Grasshopper

**URL:** <https://discourse.mcneel.com/t/open-3dm-file-from-grasshopper/163030>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [July 19, 2023, 7:41pm UTC](https://discourse.mcneel.com/t/open-3dm-file-from-grasshopper/163030 "2023-07-19T19:41:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![CSousa](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/csousa/32/766730_2.png) [@CSousa](https://discourse.mcneel.com/u/CSousa)\
**Post date:** [July 30, 2023, 3:30pm UTC](https://discourse.mcneel.com/t/open-3dm-file-from-grasshopper/163030/3 "2023-07-30T15:30:37Z")

</div>

Thanks @Gijs

However, found what I was looking for in this post…

> [@Open and close a 3dm file with python on mac](https://discourse.mcneel.com/t/open-and-close-a-3dm-file-with-python-on-mac/11569/3):
>
> Hi @dale, Of course. @matteo_ledri is this what you need? import rhinoscriptsyntax as rs import System # hard coded list of files files = ['C:\\Users\\rhino\\Documents\\_\_file1.3dm', 'C:\\Users\\rhino\\Documents\\_\_file2.3dm', 'C:\\Users\\rhino\\Documents\\_\_file3.3dm'] # or all files in a common root directory files = System.IO.Directory.GetFiles( 'C:\\Users\\rhino\\Documents\\filestoedit', '\*.3dm', System.IO.SearchOption.AllDirectories) for file in files: rs.Com…

---

_[View the full topic](https://discourse.mcneel.com/t/open-3dm-file-from-grasshopper/163030)._
