# Happy XML!

**URL:** <https://forums.sketchup.com/t/happy-xml/253245>\
**Category:** Gallery\
**Tags:** materials, xml\
**Created:** [December 27, 2023, 12:52pm UTC](https://forums.sketchup.com/t/happy-xml/253245 "2023-12-27T12:52:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [December 27, 2023, 12:52pm UTC](https://forums.sketchup.com/t/happy-xml/253245/1 "2023-12-27T12:52:20Z")

</div>

In the Netherlands, the use of a uniform, machine-readable format is used for materials, called NAA.K.T.

![NAA.K.T_thumbnail](https://global.discourse-cdn.com/sketchup/original/3X/3/0/30207f2ca8401c26edfe32323dd7959db70970e4.png)

> **[digiGO BIM Loket - 1. NAA.K.T. Eenduidige materiaalbenaming](https://www.bimloket.nl/p/682/1-NAAKT-Eenduidige-materiaalbenaming)**
>
> NAA. K. T. hét ezelsbruggetje voor eenduidige materiaalbenaming Prefabbeton, gewapend beton, grindbeton, ihw, ihwg of tpg. Zelf snappen we allemaal wat die ander bedoelt, maar onze computers nog steeds niet. Tijd om daarvoor te zorgen. Rondom B

Basically it goes from coarse to fine, Name\_Application\_Feature.

I have created a SketchUp Classification for it:

 ![Schermafbeelding 2023-12-27 om 13.04.05](https://global.discourse-cdn.com/sketchup/original/3X/8/c/8c0fe523eac52dd9ce586f1e4a5e1e39e7efc4dc.png)

 ![Schermafbeelding 2023-12-27 om 13.12.46](https://global.discourse-cdn.com/sketchup/original/3X/b/1/b1536dda55a4559f5e33980d023dbe8b8dd9f32b.jpeg)

read here about creating your own classifcations:

[https://help.sketchup.com/en/sketchup/classifying-objects](https://help.sketchup.com/en/sketchup/classifying-objects)

But wait, aren’t material compressed XML files, too?

 ![Schermafbeelding 2023-12-27 om 13.18.32](https://global.discourse-cdn.com/sketchup/original/3X/c/f/cf660d52599799860ea5e3728cbedc19d1451855.jpeg)

I copied the material (.skm) to my desktop and renamed to .zip:

 ![Schermafbeelding 2023-12-27 om 13.20.49](https://global.discourse-cdn.com/sketchup/original/3X/4/7/47b68e3067702b659a1f93b04e860207862f5b7c.jpeg)

The document.xml has some info about the scale, avergae color and transformation:

 ![Schermafbeelding 2023-12-27 om 13.23.14](https://global.discourse-cdn.com/sketchup/original/3X/c/e/ce8a9f057a0d15cc940e4e79d5ef6a657531736f.png)

DocumentProperties.xml declares what kind of type the document is:

 ![Schermafbeelding 2023-12-27 om 13.26.14](https://global.discourse-cdn.com/sketchup/original/3X/e/5/e56cec6761b2deac66d8c1c56e8ca4c1db506009.png)

What if I change the type to ‘Classification’?  
Add info in the document (pasted from the NAA.K.T. classification, and add the schemas:

 ![Schermafbeelding 2023-12-27 om 13.29.30](https://global.discourse-cdn.com/sketchup/original/3X/6/f/6fd971b46881638037c765200923e8f6c284bd5d.png)

compress and rename to .skc in Finder

 ![Schermafbeelding 2023-12-27 om 13.31.22](https://global.discourse-cdn.com/sketchup/original/3X/d/b/db18c909ba30f67fb289e3cd8eeadfb0d629641a.jpeg)  
Import the classification in SketchUp:  
 ![Schermafbeelding 2023-12-27 om 13.33.18](https://global.discourse-cdn.com/sketchup/original/3X/6/0/603bff5503022be396a96b555b67499a031fc317.jpeg)

Assign the classification to the object (yes, you can assign more than one classification tag to an object)

 ![Schermafbeelding 2023-12-27 om 13.34.20](https://global.discourse-cdn.com/sketchup/original/3X/9/3/937c1bd60f216b8336068aeb5108788a0cc5d5ba.jpeg)

Choose application and feature:

 ![Schermafbeelding 2023-12-27 om 13.37.14](https://global.discourse-cdn.com/sketchup/original/3X/6/e/6e9dee130685a9f2471a5935b73e806094149bfe.jpeg)

This file contains the two classifications:

[NAAKT\_classification.skp](https://forums.sketchup.com/uploads/short-url/6tvWGupdc82ADbavYqlzKiOrsij.skp) (264,1 KB)

BTW, renaming the .skc file to a .skm file results in a ‘normal’ SketchUp material…  
Edit: not sure if the additional material features are read correctly, though

@nnijmeijer, @brewsky any thought on this?

---

<div class="post-metadata">

**Author:** ![brewsky](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/brewsky/32/5740_2.png) [@brewsky](https://forums.sketchup.com/u/brewsky)\
**Post date:** [December 27, 2023, 6:44pm UTC](https://forums.sketchup.com/t/happy-xml/253245/2 "2023-12-27T18:44:30Z")

</div>

Interesting… in this way you can use a single classification zip to update a model with both classifications and accompanying materials/textures?  
I guess assigning a classification to a model will not at the same time set the matching material/texture? That still has to be assigned separately?

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [December 27, 2023, 8:22pm UTC](https://forums.sketchup.com/t/happy-xml/253245/3 "2023-12-27T20:22:33Z")

</div>

Yes, you still have to assign for material and classification, so there is room for a feature request, I guess😀

Although the help page for classification does say that thumbnails might be used in the future.

---

<div class="post-metadata">

**Author:** ![nnijmeijer](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/nnijmeijer/32/66166_2.png) [@nnijmeijer](https://forums.sketchup.com/u/nnijmeijer)\
**Post date:** [December 28, 2023, 1:38pm UTC](https://forums.sketchup.com/t/happy-xml/253245/4 "2023-12-28T13:38:47Z")

</div>

This is certainly interesting @MikeWayzovski.  
In this way you could also assign more material properties to the object by making them available through the SKC.
