Revit 2025.3 API
Layer |
A modifier used to designate extra strings to appear in the exported layer name.
SystemObject
Autodesk.Revit.DBLayerModifier
Autodesk.Revit.DBLayerModifier
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
The LayerModifier type exposes the following members.
| Name | Description | |
|---|---|---|
| LayerModifier | Constructs a new LayerModifier with default values. | |
| LayerModifier(ModifierType, String) | Constructs a new LayerModifier with modifierType and separator. |
| Name | Description | |
|---|---|---|
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| ModifierType | The modifier type of LayerModifier. | |
| Separator | The separator string that will follow this modifier in the export layer name. |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the LayerModifier | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
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