SetReleaseType Method


Sets the release type.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2016

Syntax

C#
public void SetReleaseType(
	bool start,
	ReleaseType releaseType
)
Visual Basic
Public Sub SetReleaseType ( _
	start As Boolean, _
	releaseType As ReleaseType _
)
Visual C++
public:
void SetReleaseType(
	bool start, 
	ReleaseType releaseType
)

Parameters

start
Type: System Boolean
The position on analytical model stick element. True for start, false for end.
releaseType
Type: Autodesk.Revit.DB.Structure ReleaseType
The type of release.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →