Skip to content

LayerModifier

Public Class

A modifier used to designate extra strings to appear in the exported layer name.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.LayerModifier

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class LayerModifier : IDisposable

The LayerModifier type exposes the following members.

Constructors

Name

Description


Public Method
LayerModifier.

Constructs a new LayerModifier with default values.


Public Method
LayerModifier(ModifierType, String)

Constructs a new LayerModifier with modifierType and separator.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The modifier type of LayerModifier.


Public Property

The separator string that will follow this modifier in the export layer name.


Methods

Name

Description


Public Method

Releases all resources used by the LayerModifier


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

A modifier consists of a type (from ModifierType and an optional separator. Apply a modifier to one or more ExportLayerInfo objects to modify the layer name that will be assigned when a Revit object is exported.