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

ENH: Better handling of import class mapping tables #798

Open
andydandy74 opened this issue Aug 12, 2024 · 2 comments
Open

ENH: Better handling of import class mapping tables #798

andydandy74 opened this issue Aug 12, 2024 · 2 comments
Labels
enhancement New feature or improvement request

Comments

@andydandy74
Copy link

Enhancement Description

Context

We often receive IFC files with MEP elements where the elements are only loosely classified by generic IFC classes like IfcFlowSegment (instead of e.g. IfcDuctSegment). When consultants are unable or unwilling to provide more precise classifications of their elements, we have to take matters into our own hands. To improve the mapping to Revit categories we have therefore created multiple import class mapping tables (e.g. one specific for HVAC models etc.).

Problem description

The main challenges of using these tables are:

  • User needs to (remember to) navigate to Open > IFC Options first
  • User needs to repeat this workflow when receiving an updated version of the model
  • The IFC import settings dialog has no ability to store a list of tables to pick from

Proposed changes

  • Add the possibility of managing multiple import class mappings in the Import IFC Options dialog (either per model via DataStorage or per user via Revit.ini - I'd actually prefer the latter so we could deploy all our standard tables to all users)
  • Add the ability to set one of those class mappings as the default
  • Add a dropdown for picking a class mapping in the Link IFC dialog
  • Have models generated from linking an IFC remember which class mapping was used so the same mapping file is used when the IFC file is updated and the Revit model gets re-generated

Revit Version

2024.0.x

IFC for Revit Addon Version

24.x.x

Windows Version

10 22H2

@andydandy74 andydandy74 added the enhancement New feature or improvement request label Aug 12, 2024
@sweco-begertjanvdb
Copy link

Something that might fit here too, make the Document.ExportIFCCategoryTable path not read-only
In the Design Automation 4 Revit workflow we have to sometimes rely on different tables depending on the needs of a project. if the API allowed for setting that ExportIFCCategoryTable value, It'd be most convenient

@denizmaral
Copy link

Are you talking about export class mapping? @sweco-begertjanvdb
You can change it here: https://www.revitapidocs.com/2024/d9696d40-cf97-5d24-8151-662e35e7d616.htm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement request
Projects
None yet
Development

No branches or pull requests

3 participants