Support Forum

[Frage] How to export IFC 2x3 with the pythonscript API ?

Schlagworte:
  • Pyton
  • PythonParts
  • Scripting
  • [AIDP-208959]

Hi!
I checked the new documentation and example for exporting/importing ifc files, but it only seems to work with the IFC4 version not with the IFC2x3.

I tried the example addon here:
…\etc\Examples\PythonParts\BasisExamples\ExportImport\IfcExportImport.pyp
…\etc\PythonPartsExampleScripts\BasisExamples\ExportImport\IfcExportImport.py

When I select the wanted version with a default 2x3 translator file and press execute nothing happens, not even a new line in the Trace window.

When I try to save ifc4 it works fine but I really need 2x3.
Any suggestions ?

doc here:
file:///C:/ProgramData/Nemetschek/Allplan/2023/Etc/PythonPartsFramework/PythonPartsDoc/DocFiles/CadDataExportImport/ExportIFC.html

Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen

Hello,

sorry for the problem. Due to an internal refactoring in the IFC part of Allplan 2023 the Ifc_2x3 export has been disabled for the use by the Python API. We are trying to fix the issue as soon as possible.

Best regards
Horst

11 - 13 (13)

Hello,

sorry for the problem. Due to an internal refactoring in the IFC part of Allplan 2023 the Ifc_2x3 export has been disabled for the use by the Python API. We are trying to fix the issue as soon as possible.

Best regards
Horst

Zitiert von: Horst_Hohmann
Hello,
sorry for the problem. Due to an internal refactoring in the IFC part of Allplan 2023 the Ifc_2x3 export has been disabled for the use by the Python API. We are trying to fix the issue as soon as possible.
Best regards

Horst

Thank you for your explanation.

Hello,

we are happy to announce, that we managed to fix the issue. Most probably with the version 2023-1-1 the export of IFC 2x3 will be possible with Python.

11 - 13 (13)