We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Python code to export glb files from blender

Home Forums General Questions Python code to export glb files from blender

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #79426
    jasonoliver
    Customer

    Im trying to export a scene using “bpy.ops.v3d.export_gltf(filepath=”/path/to/file/example.gltf”)” which was mentioned in an earlier post.

    but i keep getting this error “AttributeError: Calling operator “bpy.ops.v3d.export_gltf” error, could not be found”.

    Is there another method to export verge3d gltf/ glb files ?

    #79427

    Hi,
    This code should be executed like this:
    bpy.ops.export_scene.v3d_gltf(filepath="/path/example.gltf")

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.