BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Building a Pen Chart with SQL

automata
Graphisoft
Graphisoft

"(...) I'm imagining a utility object that will automatically build a pen chart in the floor plan window with a user defined array of squares and accompanying text label for each pen. It would be a great help when introducing new coworkers to our pen standards."

Pen weights can be accessed with two method :

Use the Attribute Manager in ARCHICAD. The list created will show even which pens are in use and can also be imported to Excel.

The other solution is to try using the SQL functions from the Calculate menu group.

By default Query can not be found in none of the Menus.

  • Go to Options - Work Environment and add Query (it is easy to find it in All commands by alphabetical order) to a chosen Menu option.

wp-content_uploads_archicadwiki_penchartwithsql--01.png

wp-content_uploads_archicadwiki_penchartwithsql--02.png

  • Enter a simple query select * from pens (without quotes) in the dialogue and click on the Execute button.

wp-content_uploads_archicadwiki_penchartwithsql--03.png

  • The result will appear in your browser similar to the screenshot below.

wp-content_uploads_archicadwiki_penchartwithsql--04.png

From here you can easily copy and paste the list to an Excel worksheet for further editing.

Hint: - Karl was so kind as to attach a sample Excel sheet to his tip with a VBA routine that will color the rows of the list with the appropriate RGB colors. To read the whole tip, and download the file go to: http://archicad-talk.graphisoft.com/viewtopic.php?t=3806

Still looking?

Browse more articles

Back to articles

See latest solutions

Accepted solutions

Start a new discussion!