BCF in IfcOpenShell
Hi,
I've started using IfcOpenshell for a project a month ago and now trying to create a bcf file using bcf library, I'm facing some problems regarding viewpoints.
It seems like I simply cannot create viewpoints which would work. I've read the documentations multiple times but I'm clearly missing something. Could someone help me differentiate between VisualizationInfo and VisualizationInfoHandler?
What is the most straight-forward way to create a topic with a viewpoint to an specific Ifc Entity (using GUID for example)?
Why this code doesn't show any viewpoint when I load it in a software while in code I can see that there is a viewpoint as VisualizationInfoHandler?
viewpoint = topic_1.add_viewpoint(entitiy_list[0])
Any help would be appreciated, thanks!
Comments
It's not very well documented, probably easiest way to explore how bcf API works is to explore the working code for bcf in Bonsai - https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.8.0/src/bonsai/bonsai/bim/module/bcf/operator.py
Thanks Andrej,
However, since I haven't worked with bonsai, I couldn't make much of it. It still doesn't make it clear why I cannot create a functional viewpoint.