Skip to main content
Question

Help with Python and IfcOpenShell


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

2 replies

david_r
Celebrity
  • 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
david_r wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings