Share

LayerModifier 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class LayerModifier : IDisposable

The LayerModifier type exposes the following members.

Constructors

 NameDescription
Public methodLayerModifier() Constructs a new LayerModifier with default values.
Public methodLayerModifier(ModifierType, String) Constructs a new LayerModifier with modifierType and separator.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyModifierType The modifier type of LayerModifier.
Public propertySeparator The separator string that will follow this modifier in the export layer name.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the LayerModifier
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns 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.

See Also

Reference

Was this information helpful?