- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to export REVIT Structural Connections to IFC with Document.Export.
When export is run from Python, all Generic Models with Family Category set to "Structural Connections" get exported, while none of the REVIT Structural Connections is exported.
From User Interface I manage to export both without a problem. In Family Mapping File, Revit Category Structural Connections is mapped to IFC Class Name IfcBuildingElementProxy.
Python code is shown below:
options=IFCExportOptions()
options.ExportBaseQuantities = False
options.FileVersion = IFCVersion.IFC2x3CV2
options.SpaceBoundaryLevel=0
options.WallAndColumnSplitting=False
options.FamilyMappingFile="D:\IFC_options.txt"
options.AddOption("ExportInternalRevitPropertySets","true")
options.FilterViewId = views[i].Id
DocumentManager.Instance.CurrentDBDocument.Export("D:\IFC eksport","Structural_Connections.ifc",options)
Solved! Go to Solution.