Constructs a new LayerModifier with modifierType and separator.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
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 |