EntityGenerator
- class compas_ifc.entities.generator.EntityGenerator(declaration)
Bases:
object
Generator class for generating a single IFC entityclass.
- Attributes:
- declaration
ifcopenshell.ifcopenshell_wrapper.declaration
The IfcOpenShell declaration to generate a class for.
- namestr
The name of the class to generate.
- importsset
The imports required for the class.
- attribute_importsset
The imports required for the attributes of the class.
- parentstr
The parent class of the class to generate.
- extensionstr
The extension class of the class to generate.
- attributeslist[
AttributeGenerator
] The attributes of the class to generate.
- inverse_attributeslist[
InverseAttributeGenerator
] The inverse attributes of the class to generate.
- descriptionstr
The description of the class to generate.
- TEMPLATEstr
The template python code for the class to generate.
- declaration
Methods