First time here? Check out the Help page!
1 | initial version |
Wanted to give an update on my new findings. Upon various trials and closer inspection of the gbxml, I've noticed that the floor/ceiling surface type errors are affected by 1) space order naming in Revit and 2) Cartesianpoint order in GBXML.
1) If spaces are named from the top floor down (2nd floor spaces named before 1st floor spaces), floor and ceiling surface types should be accurately assigned. Spaces named from bottom up (1st floor spaces named before 2nd floor spaces) will encounter this error. You can see the naming sequence by creating a space schedule in Revit.
2) In GBXML's "surface id">"PlanarGeometry">"PolyLoop" section, the <cartesianpoint> order for ceilings are listed in a counter-clockwise fashion. Floor surfaces have CartesianPoint's listed in a counter-clockwise fashion. You can change one surface type to the other by switching the order of these coordinate points.
In my model, I jump from naming spaces from floor to floor (1st>4th>2nd>1st, etc). The naming sequence is more complicated so some floors are listed as ceilings while other floors on the same level are listed as ceilings. I have not been able to figure out a pattern, thus unable to write a script that will yield perfect surface type assignments. I can obviously manually switch the surfaces using the Openstudio Inspector but any change in my revit model will make this Sketchup file unusable, which is why I am trying to find a pattern in order to write scripts.