# \#attributedictionary

**URL:** https://forums.sketchup.com/tag/attributedictionary/482.md

[Latest](https://forums.sketchup.com/latest.md) · [Categories](https://forums.sketchup.com/categories.md) · [Tags](https://forums.sketchup.com/tags.md)

---

## [Best Practices for Storing Big Data(JSON) in Attribute Dictionary](https://forums.sketchup.com/t/best-practices-for-storing-big-data-json-in-attribute-dictionary/177403)

<div class="topic-metadata">

**Author:** [@mohan.s](https://forums.sketchup.com/u/mohan.s)\
**Replies:** 7\
**Last updated:** [October 5, 2021, 6:46pm UTC](https://forums.sketchup.com/t/best-practices-for-storing-big-data-json-in-attribute-dictionary/177403 "2021-10-05T18:46:18Z")

</div>

Hello everyone, I have a very big JSON data which currently am storing in attribute dictionary on model. for example - Sketchup.active\_model.set\_attribute("my\_tools", "objects", big\_json\_data.inspect) so is there any …

---

## [How to bring along attributes dictionaries with the instance?](https://forums.sketchup.com/t/how-to-bring-along-attributes-dictionaries-with-the-instance/124766)

<div class="topic-metadata">

**Author:** [@lee\_jay\_hom](https://forums.sketchup.com/u/lee_jay_hom)\
**Replies:** 7\
**Last updated:** [May 9, 2020, 5:14am UTC](https://forums.sketchup.com/t/how-to-bring-along-attributes-dictionaries-with-the-instance/124766 "2020-05-09T05:14:58Z")

</div>

Folks, I stored some values using entity.set\_attribute dict, attribute, value we assume this entity is a component instance, so actually it can use the “save as” to make it a standalone skp model - for next round use …

---

## [Nz\_attribute](https://forums.sketchup.com/t/nz-attribute/104348)

<div class="topic-metadata">

**Author:** [@Julian\_Smith](https://forums.sketchup.com/u/Julian_Smith)\
**Replies:** 7\
**Last updated:** [September 26, 2019, 3:39pm UTC](https://forums.sketchup.com/t/nz-attribute/104348 "2019-09-26T15:39:51Z")

</div>

nz\_attribute is one of the new releases by developer Natale Zappia (I don’t know if he’s active on the forum, so I couldn’t ping him). Natale, if you’re around and see this, kindly respond to the below. I’d like to kno…

---

## [Attribute plugin from Smustard](https://forums.sketchup.com/t/attribute-plugin-from-smustard/101620)

<div class="topic-metadata">

**Author:** [@Ccaponigro](https://forums.sketchup.com/u/Ccaponigro)\
**Replies:** 9\
**Last updated:** [September 5, 2019, 6:47pm UTC](https://forums.sketchup.com/t/attribute-plugin-from-smustard/101620 "2019-09-05T18:47:34Z")

</div>

Is anyone using “Attribute” from Smustard with success?

---

## [Can Entity Info be customized?](https://forums.sketchup.com/t/can-entity-info-be-customized/101607)

<div class="topic-metadata">

**Author:** [@DanRathbun](https://forums.sketchup.com/u/DanRathbun)\
**Replies:** 11\
**Last updated:** [August 29, 2019, 1:53pm UTC](https://forums.sketchup.com/t/can-entity-info-be-customized/101607 "2019-08-29T13:53:06Z")

</div>

Continuing the discussion from Set up new entities to group or create a new entites list, because this post is on another topic than that thread: No. No. Cutlist (and many other types of) plugins use custom Sketchu…

---

## [Storing Custom Classes within a Model](https://forums.sketchup.com/t/storing-custom-classes-within-a-model/85525)

<div class="topic-metadata">

**Author:** [@AAcevedo](https://forums.sketchup.com/u/AAcevedo)\
**Replies:** 16\
**Last updated:** [January 25, 2019, 6:41pm UTC](https://forums.sketchup.com/t/storing-custom-classes-within-a-model/85525 "2019-01-25T18:41:10Z")

</div>

Hello! I was curious if a .SKP file is able to store data on Custom Classes, so that my extension can access that data later? In particular, I’m trying to create an extension that analyzes Face data for the purposes of…

---

## [The Correct Way to Store Plugin Settings & Data](https://forums.sketchup.com/t/the-correct-way-to-store-plugin-settings-data/61248)

<div class="topic-metadata">

**Author:** [@somtum](https://forums.sketchup.com/u/somtum)\
**Replies:** 18\
**Last updated:** [February 6, 2018, 10:41pm UTC](https://forums.sketchup.com/t/the-correct-way-to-store-plugin-settings-data/61248 "2018-02-06T22:41:23Z")

</div>

I’ve been struggling to find out where to store various data both user made/edited and set by a plugin. So far I’ve not been able to find one “blessed answer” from anyone. So I created a list and compiled the suggestion…

---

## [Apply material to all nested or non-nested instances that have the dynamic attribute "x" in the selection](https://forums.sketchup.com/t/apply-material-to-all-nested-or-non-nested-instances-that-have-the-dynamic-attribute-x-in-the-selection/59027)

<div class="topic-metadata">

**Author:** [@tenquin](https://forums.sketchup.com/u/tenquin)\
**Replies:** 27\
**Last updated:** [January 15, 2018, 11:41pm UTC](https://forums.sketchup.com/t/apply-material-to-all-nested-or-non-nested-instances-that-have-the-dynamic-attribute-x-in-the-selection/59027 "2018-01-15T23:41:23Z")

</div>

Hello everyone! I’m new to Ruby and my English is bad. I have the following code: model = Sketchup.active\_model definition=model.definitions selection = model.selection entities = model.active\_entities mat="Green" val…

---

## [Get\_attributes has stopped working](https://forums.sketchup.com/t/get-attributes-has-stopped-working/47520)

<div class="topic-metadata">

**Author:** [@Camlaman](https://forums.sketchup.com/u/Camlaman)\
**Replies:** 29\
**Last updated:** [July 3, 2017, 9:44am UTC](https://forums.sketchup.com/t/get-attributes-has-stopped-working/47520 "2017-07-03T09:44:05Z")

</div>

Today I was very surprized when an extension which I published over a year ago and has many users stopped working for me because a method called get\_attributes, which used to return a hash of key value pairs if called on…

---

## [Save component definition with attribute dictionaries in new .skp file](https://forums.sketchup.com/t/save-component-definition-with-attribute-dictionaries-in-new-skp-file/43970)

<div class="topic-metadata">

**Author:** [@Finfa811](https://forums.sketchup.com/u/Finfa811)\
**Replies:** 3\
**Last updated:** [May 2, 2017, 12:27pm UTC](https://forums.sketchup.com/t/save-component-definition-with-attribute-dictionaries-in-new-skp-file/43970 "2017-05-02T12:27:28Z")

</div>

I have a model with several component definitions & instances. I want to save a single definition in a new .skp file, so I use the ComponentDefinition::save\_as method. I would like to save some attribute dictionaries of…

---

## [Smart way to rename Attribute Dictionaries?](https://forums.sketchup.com/t/smart-way-to-rename-attribute-dictionaries/41575)

<div class="topic-metadata">

**Author:** [@Finfa811](https://forums.sketchup.com/u/Finfa811)\
**Replies:** 3\
**Last updated:** [March 24, 2017, 12:23pm UTC](https://forums.sketchup.com/t/smart-way-to-rename-attribute-dictionaries/41575 "2017-03-24T12:23:27Z")

</div>

I want to rename an attribute dictionary (ad), but I have observed that the method #name can be used only for retrieving the name of the ad, and cannot be updated in the following way: model\_ads = Sketchup.active\_mode…

---

## [Dynamic Attribute Documentation?](https://forums.sketchup.com/t/dynamic-attribute-documentation/39571)

<div class="topic-metadata">

**Author:** [@eskimo](https://forums.sketchup.com/u/eskimo)\
**Replies:** 2\
**Last updated:** [February 20, 2017, 6:55pm UTC](https://forums.sketchup.com/t/dynamic-attribute-documentation/39571 "2017-02-20T18:55:20Z")

</div>

Hello. We’ve made a program to dump out all of the dynamic\_attributes for a SketchUp model so that we can investigate what is going on inside of the model. Does there exist documentation of these attributes anywhere? Fo…

---

## [Retaining model attributes while importing model into Sketchup](https://forums.sketchup.com/t/retaining-model-attributes-while-importing-model-into-sketchup/31403)

<div class="topic-metadata">

**Author:** [@sampath\_kumarkrishnan](https://forums.sketchup.com/u/sampath_kumarkrishnan)\
**Replies:** 1\
**Last updated:** [September 27, 2016, 4:30pm UTC](https://forums.sketchup.com/t/retaining-model-attributes-while-importing-model-into-sketchup/31403 "2016-09-27T16:30:55Z")

</div>

I imported a DXF file into Sketchup Added some attributes to the model’s attribute\_dictionaries Saved the model as SKP. (say Model1) Created a new empty model. Imported the recently saved SKP (Model1). On e…

---

## [Model attributes and hash](https://forums.sketchup.com/t/model-attributes-and-hash/26950)

<div class="topic-metadata">

**Author:** [@mamjankowski](https://forums.sketchup.com/u/mamjankowski)\
**Replies:** 2\
**Last updated:** [June 24, 2016, 2:04am UTC](https://forums.sketchup.com/t/model-attributes-and-hash/26950 "2016-06-24T02:04:01Z")

</div>

Is there possibility to store in Model Attribute hash? array\_h = Hash.new Sketchup.active\_model.set\_attribute(‘dynamic\_attributes’, ‘TYP’,array\_h)
