Script create section of house
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?
Tagged:
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
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.
You can just replace that for a path that existst on your system or use
IfcStore.path
.This works! Beginner problems, thank you very much:)