C
by c4rlosdias on 14 Nov 2021, edited 23 Nov 2021
#
I noticed that I'm not able to edit quantities values through the blenderBIM UI, there seems to be an error when establishing the types when applying "Copy Property to Selection":

The error appears to be in the pset.py file in ...\blenderbim\core, in the '_copy_property_toselection' function which makes no difference between property and quantities:

M
by Moult on 16 Nov 2021
#
Thanks for reporting! Indeed when I first built the feature I only imagined copying properties, not quantities. This should fix it: https://github.com/IfcOpenShell/IfcOpenShell/commit/62cdf76a5a39669c648d1910aa6e3a1c161666f9
P
by polsonmila on 21 Nov 2021
#
Dear all,
I am a beginner in using python, IFC and BlenderBim add on. I am trying to do the following;
-
extract the quantities, material type of walls and floors and place them into a dictionary
-
extract the quantities of external walls and group them based on their cardinal orientation (south, north, west, etc) of each wall. I do not know if it's workable.
For the quantities I tried the sample code on https://thinkmoult.com/using-ifcopenshell-parse-ifc-files-python.html but I get an attribute error (as shown below). I just hope I am doing the right thing.

P
by polsonmila on 23 Nov 2021
#
Thank you all for your contributions. I got more insight and I am working on it.