Get the layer name associated with an element from the default layer mapping table.
Namespace: Autodesk.Revit.DB.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2022
Syntax
C# |
---|
public string GetLayerNameForPresentationLayer(
Element pElement,
ElementId categoryId
) |
Visual Basic |
---|
Public Function GetLayerNameForPresentationLayer ( _
pElement As Element, _
categoryId As ElementId _
) As String |
Visual C++ |
---|
public:
String^ GetLayerNameForPresentationLayer(
Element^ pElement,
ElementId^ categoryId
) |
Return Value
The layer name.
Exceptions
See Also