# Export to GLB with objects data from GH Rhino 7 via GHpython

**URL:** <https://discourse.mcneel.com/t/export-to-glb-with-objects-data-from-gh-rhino-7-via-ghpython/207082>\
**Category:** Scripting\
**Tags:** windows, glb\
**Created:** [July 13, 2025, 9:33am UTC](https://discourse.mcneel.com/t/export-to-glb-with-objects-data-from-gh-rhino-7-via-ghpython/207082 "2025-07-13T09:33:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user883](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/user883/32/676385_2.png) [@user883](https://discourse.mcneel.com/u/user883)\
**Post date:** [July 13, 2025, 9:33am UTC](https://discourse.mcneel.com/t/export-to-glb-with-objects-data-from-gh-rhino-7-via-ghpython/207082/1 "2025-07-13T09:33:32Z")

</div>

Greetings,

I want to export to GLB from grasshopper using ghpython ! any ideas

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/685184_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [July 14, 2025, 4:51pm UTC](https://discourse.mcneel.com/t/export-to-glb-with-objects-data-from-gh-rhino-7-via-ghpython/207082/2 "2025-07-14T16:51:46Z")

</div>

Hi @user883,

RhinoCommon has a [Rhino.FileIO.FileGltf](https://developer.rhino3d.com/api/rhinocommon/rhino.fileio.filegltf) class.

You can also just script the `_-SaveAs` command.

– Dale
