• This email address is being protected from spambots. You need JavaScript enabled to view it.
×

Notice

The forum is in read only mode.

Welcome, Guest
Username: Password: Remember me
31 Aug 2022
Our new version 11.0.11.0 is now available.
Read More...
  • Page:
  • 1

TOPIC:

Room list generator utility 11 Oct 2014 15:07 #1744

  • Jan Brogger
  • Jan Brogger's Avatar Topic Author
  • Offline
  • Posts: 5
I wrote a small utility to parse the complicated room list you get under Areas/Details into a one-line report that contains building, floor, room name and floor area.

Available on GitHub:
github.com/janbrogger/VisualBuildingText...ildingTextParser.exe
The source is here:
github.com/janbrogger/VisualBuildingTextParser/

Instructions for use:

Visual Building report parser to generate room list with areas
== Written by Jan Brogger (jan@brogger.no) 2014-10-11. ==
== Source and/or binary released to the public domain. ==
== Use at your own risk. No guarantees of any kind are given. ==
Instructions for use:
1. Open a VisualBuilding project
2. Ensure the following:
a. Buildings must be named 'Building X' where X is a single character
b. Floor must be named 'X.floor' where X is a single character
c. You must use metric units so that VisualBuilding outputs square meters
3. Select the Area tab in the project explorer
4. Select the buildings you want to report
5. Select the 'floor area' statistic
6. Click the 'Details' button
7. In the report window that pops up, hit Ctrl-C to copy all of the text
8. Open Notepad with a blank file
9. Paste the text into Notepad and save the file
10. Then run the following on the command line:
VisualBuildingTextParser inputfile > outputfile.txt
where inputfile is the name of the text report you saved in point 9
and where outputfile is the file where you want the output
11. The program will generate a simpler report.
a. There is one line per room.
b. The columns are: building, floor, room name and floor area
  • Page:
  • 1
Time to create page: 0.109 seconds