Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
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