→Graphisoft Home →Download ArchiCAD Educational →Download ArchiCAD Trial →ArchiCAD Forum →ArchiCAD Tutorials

Author:

LaszloNagy

Creation Date:

2002-10-13

ArchiCAD versions:

• ArchiCAD 7.0

Platform:

• Mac OS X
• Windows

Audience:

• average users

Reference:

• [tracking number]

Introduction

This document is about how you can take a table created in a spreadsheet program (such as MS Excel) and import it into ArchiCAD.

Let us consider that we want the following Excel table to appear in ArchiCAD:

exceloriginal.gif

There are 3 different ways by which you can achieve this. These are:

Copy-Pasting

The process consists of simply copying the desired cell range from Excel and pasting it into ArchiCAD.

More specifically:

  1. In Excel, select the cell range you would like to take to ArchiCAD.
  2. While holding down the SHIFT key, select Copy Picture... from the Edit menu (this menu item appears only when SHIFT is pressed).
    excelshiftcopy.gif

  3. A small Dialog box appears. Here select the values as shown below:
    exceldialog.gif
    Click OK to perform the copy operation.

  4. In ArchiCAD, go to the desired Floor Plan or Section/Elevation Window and select Paste from the Edit menu. The following Dialog appears:
    ac-shiftcopypastedialog.gif

  5. Select Paste as drawing elements as in such a case the contents of the table will be converted to lines and texts. Otherwise, a single bitmap will be created.

After a successful paste operation you will receive a picture similar to the one below:

ac-shiftcopypasteresult.gif

Notes:

Saving as bitmap file

With this solution you can save the table in a graphics format (bitmap or vector) and place the resulting picture on the ArchiCAD Floor Plan or Section-Elevation Window.

One thing that is pro saving as a graphics format is that it can be done from any application from which you can print so may not be limited to a spreadsheet but can do the same from a word processor.

Using the 'Spreadsheet' GDL Library Part

This Library Part has been developed by Laurent Godel (aka. 'GDL Guru') for the specific purpose of placing spreadsheet tables into ArchiCAD. This Library part can be ordered directly from the author (Laurent Godel: gdl@ibernet.com ) or from ObjectsOnline (http://www.objectsonline.com/). Naturally, the library object is available for both Windows and Mac. Here is how to work with it:

  1. In Excel, make sure you have only the table that you want to copy on the current spreadsheet. Then select Save as... from the file menu. Select 'Text (Tab delimited)' from the 'Save as type' list.
    excelsavetabdelimited.gif
    Specify the file name for the file and click OK to save the file. The table data will be saved into this TAB-delimited text file from which the 'Spreadsheet' GDL object will read in its data.

  2. Switch to ArchiCAD, and make sure you have the library loaded in which the 'Spreadsheet.gsm' file is located. Then go to the Object Tool Settings Dialog Box and select the 'Spreadsheet.gsm' file from the Object list. You will see the following Dialog Box:
    acspreadsheetobjsettings.gif

  3. For the full coverage of all variables available in the library part, see its documentation. Some of the important features:
    • In the 'Name (or path) of the File to Import' field you can either type the name of the text file (if it is located in the 'ArchiCAD Data Folder' folder within your ArchiCAD folder) or you can provide the full path to the file. Alternatively, the library part stores the last ten used file names and you can select from those.
    • You can set colors for texts, cells, table outline etc.
    • There are also several settings for the format of the font used in the library part, such as setting which cells, rows or columns to display with bold font etc.
    • You also have the choice of displaying a header and also a footer with either the date or the file name in it.

After you changed all necessary settings, click OK to leave the Dialog and place the library part. Make sure that you colsed the file in Excel otherwise it will lock it and the Spreadsheet object will not be able to read it. When everything is OK, it will show a result similar to the following:

acspreadsheet.gif


TechNotes/Importing Spreadsheets (last edited 2008-08-27 15:11:39 by localhost)