You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement the option 'Coordinate Base' in our export tool but I am running into a problem. After adding 'SitePlacement' to the exporter config I get the following error on execution. Am I missing a reference?
'Method not found: 'Void BIM.IFC.Export.UI.IFCExportConfiguration.set_SitePlacement(Revit.IFC.Common.Enums.SiteTransformBasis)'.'
Dim selectedConfig As IFCExportConfiguration = IFCExportConfiguration.CreateDefaultConfiguration()
selectedConfig.SitePlacement = Enums.SiteTransformBasis.Project
Using AddOption does not give an error but does not position the model correctly (so it does not work).
Dim ifcOpt As IFCExportOptions = New IFCExportOptions
ifcOpt.AddOption("SitePlacement", "2")
Using the UI we can set the Coordinate Base and export how it is supposed to be.
regards,
Raymond
Revit Version
2024.0.x
IFC for Revit Addon Version
24.x.x
Windows Version
11 22H2
The text was updated successfully, but these errors were encountered:
we have already tried but as mentioned in the ticket that does not work. The code runs fine but the model is not coordinated correctly (default location is used).
Dim ifcOpt As IFCExportOptions = New IFCExportOptions
Dim selectedConfig As IFCExportConfiguration = IFCExportConfiguration.CreateDefaultConfiguration()
ifcOpt.AddOption("SitePlacement", 2)
selectedConfig.UpdateOptions(ifcOpt, activeViewId)
Problem Description
Hi,
I am trying to implement the option 'Coordinate Base' in our export tool but I am running into a problem. After adding 'SitePlacement' to the exporter config I get the following error on execution. Am I missing a reference?
'Method not found: 'Void BIM.IFC.Export.UI.IFCExportConfiguration.set_SitePlacement(Revit.IFC.Common.Enums.SiteTransformBasis)'.'
Dim selectedConfig As IFCExportConfiguration = IFCExportConfiguration.CreateDefaultConfiguration()
selectedConfig.SitePlacement = Enums.SiteTransformBasis.Project
Using AddOption does not give an error but does not position the model correctly (so it does not work).
Dim ifcOpt As IFCExportOptions = New IFCExportOptions
ifcOpt.AddOption("SitePlacement", "2")
Using the UI we can set the Coordinate Base and export how it is supposed to be.
regards,
Raymond
Revit Version
2024.0.x
IFC for Revit Addon Version
24.x.x
Windows Version
11 22H2
The text was updated successfully, but these errors were encountered: