Now it's getting even weirder...
I changed the lines to read:
value = face.set_attribute ("agw_attributes", "location", agw_location)
Because that's the way it always is in the examples, and I thought maybe it needs to be set as a variable to be applied. It doesn't make sense to me, but hey, I've seen programming languages insist on weirder things. So I added this code snippet:
if (value)
UI.messagebox value
end
And, weirdly enough, that works exactly like it's supposed to.
Maybe it's a problem with the way I'm checking to see if the attributes are being applied? I'm making my test wall, turning it into a group, and then reading my attributes with the attribute reporter script from here: http://code.google.com/apis/sketchup/docs/tutorial_attrreporting.html.
I'm suspecting that it isn't reporting the attributes in my custom dictionaries. Have I been banging my head against the wall trying to fix a problem I'm not having?
If so, how could I fix the code to show my custom dictionaries?
Thank you all so much! This is not only my first Sketchup project, but also my first time using Ruby, so I really need the help.