Hi,
Is there a way to export Revit Category with user defined property sets ?
I know I can export it with Revit property sets but I wonder if I can add Revit Category in mapping file with user property sets ?
Regards
Gelöst! Gehe zur Lösung
Gelöst von FAIR59. Gehe zur Lösung
There is no answer in this article.
I know I can see Ifc Class which was mapped in mapping file but I asked about exporting Revit Category, not Ifc Class.
You can either use the BuiltInParameter or the Category directly:
PropertySet: MyPSet I IfcWall,IfcWallStandardCase,IfcCurtainwall
#
#
Category Text BuiltInParameter.ELEM_CATEGORY_PARAM_MT
Category1 Text Category
#
Does anyone know how to export element ID with User Defined Parameters ?
I hoped I will be able to export ID using BuiltInParameter Enumeration, like @FAIR59 did, there is a
BuiltInParameter.ID_PARAM
but the only BuilInParameter that I managed to export is
BuiltInParameter.ELEM_CATEGORY_PARAM_MT
The rest of them from the list below is not exporting to IFC:
https://www.revitapidocs.com/2020/fb011c91-be7e-f737-28c7-3f1e1917a0e0.htm
I don't think there is a mechanism for doing that, unfortunately. Note, though, that for almost all entities, the element id is the Tag attribute of the entity, and as such will be included in the entity definition itself.
There is a workaround. You could create a new Text shared parameter called ElementId (or whatever you want to call it) and assign it to all categories. Then you could create a macro that would populate that shared parameter for all elements in the project. Then, on export, you could create a user defined property set that contained that shared parameter. It would require a little coding and maintaining, but not much if it is very important to get this information in the IFC file.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.