ifcpatch.recipes.AGS2IFC

Module Contents

class ifcpatch.recipes.AGS2IFC.Patcher(file, logger, ags_file: str, docs_dir: str = '.')

Converts AGS to IFC

This is for AGS version 3.

Parameters:
  • ags_file – The AGS file to convert.

  • docs_dir – The directory URI where documents are stored

Filter_glob ags_file:

*.ags

Example:

result = ifcpatch.execute({"input": fn, "file": model, "recipe": "ExtractPropertiesToSQLite"})
ifcpatch.write(result, "output.sqlite")
patch()
ags_file
docs_dir = '.'
file
logger