Export/Write to dae (Collaba) in python

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
le_top
Posts: 20
Joined: Sat Apr 24, 2021 2:13 pm

Export/Write to dae (Collaba) in python

Post by le_top »

I want to write to a '.dae' (Collaba) file from a script.

To make a long story short, it's just this, where data is an item in the App.ActiveDocument.RootObjects:
```
import importDAE
importDAE.export(data,"Outfile.dae")
```
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Export/Write to dae (Collaba) in python

Post by Roy_043 »

What is your question? The suggested code works fine here.
Post Reply