Get the layer name associated with an element from the default layer mapping table.
Namespace: Autodesk.Revit.DB.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public string GetLayerNameForPresentationLayer(
Element pElement,
ElementId categoryId
)
Parameters
- pElement Element
-
The element.
- categoryId ElementId
-
The category id of the element.
Return Value
String
The layer name.
Exceptions
See Also
Reference