How to provide a custom IFC Import menu item?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-06-02
10:32 AM
- last edited on
2023-05-23
04:39 PM
by
Rubia Torres
2011-06-02
10:32 AM
As first step I want to provide a menu item in Archicad, by which the user can browse the project directory of the remote server, and download an IFC file to import it into archicad. To get started, I need to know two points:
(a) How to provide a menu item in Archicad, calling my implementation functionality
(b) how to import an IFC file to archicad when my wizard finishes. I am responsible to download the IFC file to the user's local file system, now its the question how to load it in Archicad. It may be that the user not downloads self-contained IFC files but library parts.
Do I need C/C++ knowledge to achieve this? Where is the starting point? Do I have to read the "GDL Reference Guide"? they say nothing about building custom menu items.
Thanks,
Joerg
Labels:
- Labels:
-
Library (GDL)
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-06-02 11:42 AM
2011-06-02
11:42 AM
Patins wrote:GDL (Geometric Description Language) is limited to object development only, e.g. describing 2D or 3D geometry.
(a) How to provide a menu item in Archicad, calling my implementation functionality
(b) how to import an IFC file to archicad when my wizard finishes. I am responsible to download the IFC file to the user's local file system, now its the question how to load it in Archicad. It may be that the user not downloads self-contained IFC files but library parts.
Do I need C/C++ knowledge to achieve this? Where is the starting point? Do I have to read the "GDL Reference Guide"?
You should use the ArchiCAD API instead, which requires proficiency with C, or ideally C++. You will also need XCode for the Mac or Visual Studio 2005 for Windows. To get started, download the required resources here.
In reply to your other questions:
- (a) You will need to study the API documentation, but in essence you need to write the required menu resources, register the menu when the add-on is first called, and provide a call-back for the menu handling.
(b) I don't have an answer for this. I know that the DWG/DXF add-on provides a mechanism for other add-ons to invoke the import/export facilities, but there is no documentation for these features in the IFC add-on. I think someone at GS will have to answer that question.
Ralph Wessel BArch
Central Innovation
Central Innovation