Sets a flag indicating whether an updater is optional or not.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static void SetIsUpdaterOptional( UpdaterId id, bool isOptional )
Parameters
- id UpdaterId
- Id of the updater
- isOptional Boolean
- Use True to make the updater optional, false to make it a mandatory updater.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Updater with this Id is not currently registered in Revit. |
| ArgumentNullException | A non-optional argument was null |
