Fix bug where you couldn't bulk copy non-geometric elements to other spatial containers

This commit is contained in:
Dion Moult
2021-10-20 18:47:55 +11:00
parent 871ad1ab7f
commit 503f0399ff
13 changed files with 234 additions and 80 deletions
@@ -29,6 +29,7 @@ from ifcopenshell.api.pset.data import Data
from ifcopenshell.api.cost.data import Data as CostData
from blenderbim.bim.module.pset.qto_calculator import QtoCalculator
def get_pset_props(context, obj, obj_type):
if obj_type == "Object":
obj = bpy.data.objects.get(obj)