Revit 2018 API |
LayerModifier Constructor (ModifierType, String) |
LayerModifier Class See Also |
Constructs a new LayerModifier with modifierType and separator.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.13)
Since:
2014
Syntax
C# |
---|
public LayerModifier( ModifierType modifierType, string separator ) |
Visual Basic |
---|
Public Sub New ( _ modifierType As ModifierType, _ separator As String _ ) |
Visual C++ |
---|
public: LayerModifier( ModifierType modifierType, String^ separator ) |
Parameters
- modifierType
- Type: Autodesk.Revit.DB..::..ModifierType
The modifier type.
- separator
- Type: System..::..String
The separator string that will follow this modifier in the export layer name.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | The provided separator contains invalid characters (most special characters are invalid). |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |