Sometimes it is pretty cool to see total sq of a group of objects, total # of porches, or group together roof planes, or do something with a group.
Since not everyone is a software developer, have time to research Ruby... Here is a simple way to do this:
We want to use array of arrays [or to be exact hashmap of hashmaps] to store the data that will be displayed later.
I use a single global: $tree. The hashmap $tree["rooms"] will be storing rooms and whatever properties you
Sorry, did not see your post. The code was provided for X10. In x11 new property was offered... obj.object_id.
You need to change this line id="p" + obj.to_s.gsub('#<NVPublisher:0x000','').gsub('>','')
INTO: id ="p" + obj.object_id.to_s
See below
Macro: labelRoofPlane
referenced ? obj = referenced : obj = owner
if $tree.nil?
$tree = Hash.new { |hash, key| hash[key] = {} }
end
id ="p" + obj.object_id.to_s
it