Question

Help with Python and IfcOpenShell

  • 17 March 2019
  • 2 replies
  • 7 views

Badge

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

Userlevel 4

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

 

Badge

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.

Reply