Hello.
I need some help understanding ruby. My topic might be here in another thread but show how I can’t locate it.
What I want is to export info from my drawings to a csv og excel file to be used later in other programs like ms project.
Right now am I using layers/tags for prising and time estimates and my plan is to use groups to create an hierarki of tasks for ms project. The idea is first group is building. In this group you would have nGroups floors. In floor group you would have groups like facades, ceiling and so on. You would also have nRoomgroups. In a roomgroup you would also have many subgroups like ceiling, floor, walls and so on.
So I will have a lot of groups. But the idea is one group also is a task. A task with sub tasks and so on. If I draw a gypsum bord I now have a price pr m2 and a time it takes to mount it in layers. This gypsum wall is placed in a room on a given wall. What I want to export this task to ms project to create a timeline of the project.
My issue at this state of understanding is not quit how these groups separate itself from other groups and in which nested group it belongs to. I would have separate names of rooms but the wall groups in each room will have the same name.
What I want is a loop that dives into main (building) group and creates a list of rooms walls ceilings and so on that I then can save to a file. As a start group name is just fine to be exported.
Even though I have many years with php, javascripts python I’m new to ruby and Sketchup programing. What i need is to see a loop if this is possible that would create search a list.
Would appreciate some help or advice to proceed with my project