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
C#
public string GetLayerNameForPresentationLayer( Element pElement, ElementId categoryId )
Parameters
Return Value
StringThe layer name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |