I'm guessing the other fields come from IfcPhysicalSimpleQuantity which is the parent of IfcQuantityLength Given the Formula field is optional, yes I would guess $ means null....
Use below binding <bindings version="2.0" xmlns="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:annox="http://annox.dev.java.net" xmlns:namespace="http://jaxb2-commons.dev.java.net/namespace-prefix"> <bindings schemaLocation="../schema.xsd"> <bindings node="//xs:schema//xs:element[@name='IfcCondenserTypeEnum']"> <class name="CondenserType" /> </bindings> </bindings> </bindings> ...
The indentation shows which lines is part of the for loop. If you want the print statements to happen 100 times, you have to indent them as well. import ifcopenshell ifc_file = ifcopenshell.open('Example_A.ifc') materials = ifc_file.by_type('IfcMaterial') print 'There are ' + str(len(materials)) + ' different types of materials in the...