Revit 2026 API
Exporter |
Get the layer name associated with an element from the default layer mapping table.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public string GetLayerNameForPresentationLayer( Element pElement, ElementId categoryId )
Public Function GetLayerNameForPresentationLayer ( pElement As Element, categoryId As ElementId ) As String
public: String^ GetLayerNameForPresentationLayer( Element^ pElement, ElementId^ categoryId )
member GetLayerNameForPresentationLayer : pElement : Element * categoryId : ElementId -> string
Parameters
Return Value
StringThe layer name.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also