• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Adding data or attributes to the model.

Scheduled Pinned Locked Moved Developers' Forum
1 Posts 1 Posters 213 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    Scienthsine
    last edited by 12 Aug 2008, 17:31

    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.

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement