Skip to main content
Question

Help with Python and IfcOpenShell

  • March 17, 2019
  • 2 replies
  • 78 views

Forum|alt.badge.img

Greetings for the day,

 

I am new with the coding world. I am using Python and IfcOpenShell to work on IFC files.

 

I want to use a command ifc.open but it is not working. I am using Python 2.7.

 

Please help me with this issue.

 

Thank you
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • 8394 replies
  • March 18, 2019

My first hunch is that the modules haven't been installed in the Python interpreter that's currently being used by your FME installation.

This article may be of interest to you:

http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_Workbench/Workbench/Installing-Python-Packages.htm

Alternatively:

https://knowledge.safe.com/articles/814/choosing-a-different-python-interpreter-installati.html

 


Forum|alt.badge.img

My first hunch is that the modules haven't been installed in the Python interpreter that's currently being used by your FME installation.

This article may be of interest to you:

http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_Workbench/Workbench/Installing-Python-Packages.htm

Alternatively:

https://knowledge.safe.com/articles/814/choosing-a-different-python-interpreter-installati.html

 

Thank you for your reply sir.

I will study the articles you give to me.

 

Sir, I am posting my code and error. Can you please help me to solve the issue.

CODE:- https://drive.google.com/open?id=1KMIDamSk1v-O0zYuonzfZWW-xcNgUSxm

ERROR:- https://drive.google.com/open?id=1CnVy0ktTshr8sDfFEXiq0vSTceWGJfdf

Thank you.