Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

IFC export: Revit Category in User Defined Property Sets

6 ANTWORTEN 6
GELÖST
Antworten
Nachricht 1 von 7
kubastan89
1601 Aufrufe, 6 Antworten

IFC export: Revit Category in User Defined Property Sets

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

6 ANTWORTEN 6
Nachricht 2 von 7
barthbradley
als Antwort auf: kubastan89
Nachricht 3 von 7
kubastan89
als Antwort auf: barthbradley

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.

Nachricht 4 von 7
FAIR59
als Antwort auf: kubastan89

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
#
Nachricht 5 von 7
JStanasiuk
als Antwort auf: FAIR59

@FAIR59  Thank you !

This is what I was looking for.

Do you know if I can add Element ID to my Property Set as well ?

Nachricht 6 von 7
kubastan89
als Antwort auf: JStanasiuk

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 

 

Nachricht 7 von 7
angel_velez
als Antwort auf: kubastan89

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.



Angel Velez

Principal Software Engineer

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

In Foren veröffentlichen  

Autodesk Design & Make Report