# Exporting to as GLTF changes names

**URL:** <https://discourse.slicer.org/t/exporting-to-as-gltf-changes-names/34623>\
**Category:** Support\
**Tags:** python, file-export, centerlines, vmtk-centerline\
**Created:** [February 29, 2024, 6:34pm UTC](https://discourse.slicer.org/t/exporting-to-as-gltf-changes-names/34623 "2024-02-29T18:34:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MuckYu](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@MuckYu](https://discourse.slicer.org/u/MuckYu)\
**Post date:** [February 29, 2024, 6:34pm UTC](https://discourse.slicer.org/t/exporting-to-as-gltf-changes-names/34623/1 "2024-02-29T18:34:22Z")

</div>

I am trying to export the centerline from a scene with a python script.

OBJ/STL etc. don’t export the centerline at all.

So I have to use GLTF - which works fine so far.  
The problem here is that it exports the whole scene - including camera, bounding box, arrows, mesh etc.

And then it’s naming everything mesh0, mesh1, mesh2 …

I need a way to isolate the centerline curve somehow.

How can I do this?  
Is there a way to only export the curve with the gltfexporter?  
Or otherwise have the names etc. so that I can isolate it that way later?
