Script create section of house

edited September 2023 in General

Hello everyone,
when I run the section script, it seems to execute correctly; however, nothing appears in the 3D Viewport. Can anyone tell me why?

Comments

  • That code uses a lot of outdated ifcopenshell code. Maybe it's easier using the ifcopenshell.api and following the documentation made by Moult.?

    https://community.osarch.org/discussion/comment/16637#Comment_16637

    https://blenderbim.org/docs-python/ifcopenshell-python/geometry_creation.html

    when I run the section script, it seems to execute correctly; however, nothing appears in the 3D Viewport. Can anyone tell me why?

    Hard to tell without seeing the entire script, but I am making the assumption it's creating the IFC at the path you cicrled, but I think the code loading the IFC into BlenderBIM is commented out.?

  • @Coen , I suspect that the issue lies in the path you provided to your script, at the end, in the Config parameters section.
    C:\Algemeen\07_prive\08_ifc_bestanden\demo.ifc
    This path does not exist on my PC, nor was it created by the script; or I don't know how to find it.

  • @jsoler said:
    @Coen , I suspect that the issue lies in the path you provided to your script, at the end, in the Config parameters section.
    C:\Algemeen\07_prive\08_ifc_bestanden\demo.ifc
    This path does not exist on my PC, nor was it created by the script; or I don't know how to find it.

    You can just replace that for a path that existst on your system or use IfcStore.path.

    jsoler
  • @Coen said: You can just replace that for a path that existst on your system or useIfcStore.path.

    This works! Beginner problems, thank you very much:)

    Coen
Sign In or Register to comment.