💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Adding data or attributes to the model.
-
What's the recommended way of doing this?
As I believe it, I can add values to any object in ruby, so if I wanted to a specific edge a value, I should be able to... but does this work well with sketchup? ie: Will this data be saved in the sketchup file format? Will this data be lost with a delete/undo operation? etc...
I see there is an AttributeDictionary class that facilitates adding values to sketchup entities. This seems to be what I want, and I would expect this to be saved in the file format, work with undo/redo, etc... Right?
I just need some edges to have special attributes for my scripts, and that they save with the model preferably.
Advertisement