ExporterIFC class


#1

I have a maybe simple question.
I found that code and am failing to implement it in python:

my python implementation:`
import sys
import clr
import Autodesk

clr.AddReference('RevitAPI') 
clr.AddReference('RevitAPIUI') 
clr.AddReference('REVITAPIIFC') 

from System import *
from Autodesk.Revit.DB import * 
from Autodesk.Revit.DB.IFC import *

f= ExporterIFC.GetFile()
OUT = f`

i get following error:
Warnung:IronPythonEvaluator.EvaluateIronPythonScript fehlgeschlagen.
Traceback (most recent call last):
File “”, line 13, in
TypeError: GetFile() takes exactly 1 argument (0 given)

the documentation also tells me, that no argument is necessary:

http://www.revitapidocs.com/2016/1baac5bf-ee32-4d1c-0ba3-6193124c0d9c.htm

any tipps?