when i try too run my code i get this error:
Process finished with exit code -1073741819 (0xC0000005)
FYI I am using Pycharm.
I have found out that it happens and crashes in the line shown under.
print(ny_sortert_liste_elementer)
This variable is a list of lists. It works earlier in the code but somehow it fails here.
Any thoughts?
if "Pset_Bundebygg" not in myset:
print("Pset lages")
property_values = []
print("propert value ",property_values)
print("GO")
print(ny_sortert_liste_elementer)
for (space,verdi,type,name) in zip(ny_sortert_liste_elementer,ny_sortert_liste_verdi,ny_sortert_liste_type,ny_sortert_liste_name):
for(space1,verdi1,type1,name1) in zip(space,verdi,type,name):
print(space1)
property_values.append(ifcfile.createIfcPropertySingleValue(name1, name1,ifcfile.create_entity(type1,verdi1), None), )
property_set = ifcfile.createIfcPropertySet(create_guid(), owner_history, pset_name, pset_name,property_values)
ifcfile.createIfcRelDefinesByProperties(create_guid(), owner_history, None, None, [space1], property_set)
ifc_loc_edit = str(ifc_loc.replace(".ifc","_Edited1.ifc"))
ifcfile.write(ifc_loc_edit)
property_values = []
User contributions licensed under CC BY-SA 3.0