Error Message Import Python

Helpful Questions & Answers

  • Frequently Asked Questions (FAQs)

When trying to import an IFC File to RFEM, an error message appears. How can I solve the problem?

Answer

In RFEM 6, we use a 3rd party tool (IFCOpenShell) to import the IFC files and convert the text into objects.

RFEM 6 shows you the import log after importing an IFC file.



In many cases, the error is displayed. The error messages are generated by the tool, not directly by us. So if the tool thinks that an entity is incorrectly defined in this IFC file, it will be mentioned there. If this is the case, an object (Wall, Column, ...) may not be displayed after the import.

 

For example, a wall is to be imported. However, it is not displayed in RFEM 6 (IFC file attached). The error does not describe the problem precisely. It roughly points in the direction of the cause. If you need more information, you can use a validation tool developed by IfcOpenShell. In order to use it, follow the steps below:

 

  1. Download Python from the Windows App Store (if you don't have Python, just type "python" without "" on the cmd line and the App Store should appear).

  2. Download the associated IfcOpenShell Python module from this page: http://ifcopenshell.org/python

  3. Extract the contents into the "site-packages" folder of your Python distribution. You can find this folder by adding the following command to the cmd line:

    python -m site --user-site

  4. Open the cmd line and paste the following command:

    python -m ifcopenshell.validate "path of your IFC file"



  5. As a result, you will get more information about the problem:

    FAQ 005080 | When trying to import an element from Python to RFEM, I get an error message. How can I solve the problem?


Both messages (from the log file and the Python tool) allow you to point out the problem directly. In the case of the example shown, no surface was imported. The reason was that some information was missing in #36 IFCFaceSurface. However, the RFEM warning only indicated #43 "IfcTopologyRepresentation."


Keywords

Python Import IFC

Downloads

Write Comment...

Write Comment...

Contact Us

Contact Dlubal

Unable to find the answer to your question? Contact us via phone, email, chat, or forum, or send us your question directly through our online form.

Submit Individual Question

(267) 702-2815

[email protected]

Online Training | English

RFEM 6 | Basics

Online Training 10/07/2022 9:00 AM - 1:00 PM CEST

Online Training | English

RFEM 6 | Students | Introduction to Member Design

Online Training 10/12/2022 4:00 PM - 7:00 PM CEST

Online Training | English

Eurocode 2 | Concrete Structures According to DIN EN 1992-1-1

Online Training 10/18/2022 9:00 AM - 1:00 PM CEST

Online Training | English

RSECTION | Students | Introduction to Strength of Materials

Online Training 10/19/2022 4:00 PM - 5:30 PM CEST

Online Training | English

RFEM 6 | Students | Introduction to FEM

Online Training 10/27/2022 4:00 PM - 7:00 PM CEST

Online Training | English

RFEM 6 | Students | Introduction to Steel Design

Online Training 11/10/2022 4:00 PM - 5:00 PM CET

Online Training | English

Eurocode 3 | Steel Structures According to DIN EN 1993-1-1

Online Training 11/17/2022 9:00 AM - 1:00 PM CET

Online Training | English

RFEM 6 | Dynamic Analysis and Seismic Design According to EC 8

Online Training 11/23/2022 9:00 AM - 1:00 PM CET

Online Training | English

RFEM 6 | Students | Introduction to Timber Design

Online Training 11/25/2022 4:00 PM - 5:00 PM CET

Online Training | English

Eurocode 5 | Timber Structures According to DIN EN 1995-1-1

Online Training 12/08/2022 9:00 AM - 1:00 PM CET

Online Training | English

RFEM 6 | Dynamic Analysis and Seismic Design According to EC 8

Online Training 09/21/2022 9:00 AM - 1:00 PM CEST

Rhino/Grasshopper Integration in RFEM 6

Rhino/Grasshopper Integration in RFEM 6

Webinar 09/20/2022 2:00 PM - 3:00 PM EDT

Design Aluminum Structures \n in RFEM 6 and RSTAB 9

Model and Design Aluminum Structures in RFEM 6 and RSTAB 9

Webinar 09/15/2022 2:00 PM - 3:00 PM CEST

Online Training | English

Eurocode 5 | Timber Structures According to DIN EN 1995-1-1

Online Training 09/15/2022 9:00 AM - 1:00 PM CEST

Considering Construction Stages \n in RFEM 6

Considering Construction Stages in RFEM 6

Webinar 09/08/2022 2:00 PM - 3:00 PM CEST

Online Training | English

Eurocode 3 | Steel Structures According to DIN EN 1993-1-1

Online Training 09/08/2022 9:00 AM - 1:00 PM CEST