# Add Custom Attribute to DAE Export

**URL:** <https://forums.sketchup.com/t/add-custom-attribute-to-dae-export/42131>\
**Category:** Developers\
**Tags:** dae, attribute, export\
**Created:** [March 31, 2017, 5:34pm UTC](https://forums.sketchup.com/t/add-custom-attribute-to-dae-export/42131 "2017-03-31T17:34:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewmorse](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@drewmorse](https://forums.sketchup.com/u/drewmorse)\
**Post date:** [March 31, 2017, 5:34pm UTC](https://forums.sketchup.com/t/add-custom-attribute-to-dae-export/42131/1 "2017-03-31T17:34:49Z")

</div>

Does anyone know of a way to add a custom attribute to a DAE file exported from SketchUp?

As an example, I want to use attribute dictionaries to tag faces in a model with a cardinal direction (North, South, East or West), and I’d like to have this information inserted into the DAE export.

So perhaps a particular `<geometry>` block in the DAE could have a custom `<direction>` attribute. Is there any way to do this?

Thanks,  
Andrew

---

<div class="post-metadata">

**Author:** ![DanRathbun](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/danrathbun/32/500_2.png) [@DanRathbun](https://forums.sketchup.com/u/DanRathbun)\
**Post date:** [March 31, 2017, 11:29pm UTC](https://forums.sketchup.com/t/add-custom-attribute-to-dae-export/42131/2 "2017-03-31T23:29:33Z")

</div>

Do the DAE / COLLADA specifications allow for these “custom” attributes ?  
(Usual XML formats must follow their schema.)

Looking at the v1.4 spec I see that there IS provision for an **`<extra>`** element.  
(See “Extensibility”, page 36.)

> **[collada\_spec\_1\_4.pdf](https://www.khronos.org/files/collada_spec_1_4.pdf)**

But attaching an attribute dictionary named “extra” or “dae” (with a “direction” attribute whose value is “North”) to a SketchUp face within a group, fails to export to the DAE file as any attribute.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sketchup/original/3X/f/2/f2a121500b085ed60806607a82720b092d800bb3.png) [@system](https://forums.sketchup.com/u/system)\
**Post date:** [July 1, 2017, 9:35am UTC](https://forums.sketchup.com/t/add-custom-attribute-to-dae-export/42131/3 "2017-07-01T09:35:13Z")

</div>

Closed on July 1, 2017, 9:35am UTC

This topic was automatically closed after 91 days. New replies are no longer allowed.
