RVTDocs.com
Namespace: Autodesk.Revit.DB Class: WorksetTable

WorksetTable.SetActiveWorksetId

Method
Description:
Sets the active workset.
Syntax
public void SetActiveWorksetId(
	WorksetId worksetId
)
Parameters
Parameter Type Description
worksetId WorksetId The workset Id.
Return Value
Exceptions
Exception Condition
ArgumentException There is no workset in the document with this id.
ArgumentNullException A non-optional argument was null