OSArch Community

Script create section of house

  1. J

    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?

  2. C

    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.?

  3. J

    @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.

  4. C

    @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.

  5. J

    @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:)

Login or Register to reply.