| Revit 2023 API |
| AnalyticalMember..::..SetReleaseConditions Method |
| AnalyticalMember Class See Also |
Sets Release Conditions to Analytical Member.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2023
Syntax
| C# |
|---|
public void SetReleaseConditions( ReleaseConditions releaseConditions ) |
| Visual Basic |
|---|
Public Sub SetReleaseConditions ( _ releaseConditions As ReleaseConditions _ ) |
| Visual C++ |
|---|
public: void SetReleaseConditions( ReleaseConditions^ releaseConditions ) |
Parameters
- releaseConditions
- Type: Autodesk.Revit.DB.Structure..::..ReleaseConditions
End to which release conditions will be added is defined by setting [!:Autodesk::Revit::DB::Structure::ReleaseConditions::Position] property in provided release conditions object.
Remarks
If element already have release conditions defined for that end, newly provided values replace current one.
The ReleaseType will be set to UserDefined.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |