Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INQ: ExporterIFC object #808

Open
denizmaral opened this issue Sep 9, 2024 · 1 comment
Open

INQ: ExporterIFC object #808

denizmaral opened this issue Sep 9, 2024 · 1 comment
Labels
inquiry An information request from end user that is not an Enhancement Request or Problem Report

Comments

@denizmaral
Copy link

Inquiry description

Can you please tell us how we can get an ExporterIFC object? If you would say to implement interface and create the object, it won't work because your methods are not requiring IExporterIFC.
I would like to use your GetObjectExportType method but it is requiring that hidden ExporterIFC object...

      /// <summary>
      /// Gets export type for an element in pair information of the IfcEntity and its type.
      /// Restricted to sub-types of IfcObject.
      /// </summary>
      /// <param name="exporterIFC">The ExporterIFC object.</param>
      /// <param name="element">The element.</param>
      /// <param name="enumTypeValue">The output string value represents the enum type.</param>
      /// <returns>The IFCExportInfoPair.</returns>
      public static IFCExportInfoPair GetObjectExportType(ExporterIFC exporterIFC,
         Element element, out string enumTypeValue)
      {
         return GetExportType(exporterIFC, element, IFCEntityType.IfcObject, out enumTypeValue);
      }

Can you please make that static method without ExporterIFC parameter or tell us how to create an instance of it?

Thank you!

Revit Version

2024.0.x

IFC for Revit Addon Version

24.x.x

Windows Version

11 22H2

@denizmaral denizmaral added the inquiry An information request from end user that is not an Enhancement Request or Problem Report label Sep 9, 2024
@denizmaral
Copy link
Author

These three methods are also requiring ExporterIFC object
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inquiry An information request from end user that is not an Enhancement Request or Problem Report
Projects
None yet
Development

No branches or pull requests

1 participant