Menu
  • HOME
  • TAGS

Value assigning to IfcQuantityLength instance in Industry Foundation Classes

java,ifc

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....

How to use a class customization to resolve conflict when generating jaxb object from xsd

java,xsd,jaxb,ifc

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> ...

For loop over a range (Python 2.7 + Ifc)

python-2.7,for-loop,range,ifc

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...