First time here? Check our help page!
2

openstudio output model information through measure

Hi, is there a way to output model information to csv through a measure? For example, output all walls on level-1 (I know there are other ways to get this information, just uses as an example here).

I am essentially asking if there's a way to output information that can be shown through RegisterInfo when applying a measure. Instead of just showing these information on the measure window, is there a way to export it to csv or other external file format. Thanks.

xchen's avatar
929
xchen
asked 2020-09-13 13:57:30 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-09-13 15:19:58 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Here is an example that exports schedules to CSV file. You could adapt that to export constructions, surfaces, or any object you want. While this is making a report, if you don't need the SQL simulation results you can make it a model measure which can be used with Apply Measures now.

As a second example here is a SketchUp Plugin user script that writes a CSV with high level space and space type information.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2020-09-13 16:42:32 -0500
edit flag offensive 0 remove flag delete link

Comments

thank you, the example works like a charm.

xchen's avatar xchen (2020-09-13 18:29:40 -0500) edit
add a comment see more comments