Revit 2025.3 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: 25.3.0.0 (25.3.0.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