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

Export Mapping file - PredefinedType #25

Closed
dvrvb opened this issue Aug 28, 2018 · 1 comment
Closed

Export Mapping file - PredefinedType #25

dvrvb opened this issue Aug 28, 2018 · 1 comment

Comments

@dvrvb
Copy link

dvrvb commented Aug 28, 2018

Making use of the export mapping file seems not to set the PredefinedTypes (values listed in the column IFC Type) anymore in the resulting IFC export. In the export it results in a PredefinedType = NOTDEFINED.

R2019.1 and current-Github-Master-version
IFC4RV

Export Mapping file (File > Options > IFC Options).
I did try 2 mapping files (attached in ZIP):

  1. with the values in the column "IFC Class Name" defined as EntityClasses (f.i. IfcCovering)
  2. with the values in the column "IFC Class Name" defined as TypeClasses (f.i. IfcCoveringType)
    The PredefinedTypes in the column "IFC Type" are (of course) the same in both mapping files.

Only making use of these mapping files (not using IFCExportAs, because with IFCExportAs the PredefinedTypes are set correctly, with a few exceptions which are listed elsewhere as issue)
seem to result in an export where the PredefinedTypes are NOTDEFINED (except in the case where the export is hardcoded)

4 cases:

  1. System Family with hardcoded export setting: export is OK: f.i. System Family Compound Ceiling, Basic Ceiling exports (hardcoded) as IfcCovering with PredefinedType CEILING
  2. System Family without hardcoded export setting: PredefinedType is not set correctly in export: f.i. System Family Cable Trays
  3. Loadable Family: PredefinedType is not set correctly in export: f.i. Loadable Family Sprinklers
  4. Model in Place: PredefinedType is not set correctly in export: f.i. Model in Place Sprinklers, Ceilings

(as I look to the sample file in issue #11, #11 , I assume that issue concerns the use of IFCExportAs and IFCExportType)

2018-08-28_sf_lf_mp

2018-08-28_predefinedtype

[2018-08-28 Export Mapping.zip](https://github.com/Autodesk/revit-ifc/files/2328671/2018-08-28.Export.Mapping.zip)
@dvrvb
Copy link
Author

dvrvb commented Aug 25, 2019

Already fixed (tested for R2020 with 20.1.0.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant