WorksetId Property


The target worksetId for those elements under the deleted workset, which is used for DeleteWorksetOption::MoveElementsToWorkset.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2022.1

Syntax

C#
public WorksetId WorksetId { get; set; }
Visual Basic
Public Property WorksetId As WorksetId
	Get
	Set
Visual C++
public:
property WorksetId^ WorksetId {
	WorksetId^ get ();
	void set (WorksetId^ value);
}

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException When setting this property: A non-optional argument was null

See Also