We discussed reading the workset of an element, either using the built-in parameter ELEM_PARTITION_PARAM or, more easily, the dedicated document GetWorksetId method. This is actually another example of the possibility to choose your data access method by using either a dedicated property or a parameter, as we recently explored to achieve changing the viewport type. Although the Revit API provides a dedicated property to read an element workset, it does not do so for changing it, which begs the question:... Read more →