ifcpatch.recipes.FixRevitClassificationCodeTypes

Module Contents

class ifcpatch.recipes.FixRevitClassificationCodeTypes.Patcher(src, file, logger)

Reassigns occurrence classifications to types

Revit has a bug (see https://github.com/Autodesk/revit-ifc/issues/691) where it assigns classification codes to occurrences instead of types. Almost always, this is not what you want. This patch reassigns all classifications to their respective types.

Example:

ifcpatch.execute({"input": "input.ifc", "file": model, "recipe": "FixRevitClassificationCodeTypes"})
patch()
file
logger
src