<Code Lib>
2023 Class
Changes 3
C

DeleteWorksetSettings

Description:
This class represents the settings used to delete a workset.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.DeleteWorksetSettings

public class DeleteWorksetSettings : IDisposable

Name Return Type Description
C DeleteWorksetSettings() DeleteWorksetSettings Constructs a DeleteWorksetSettings object with DeleteWorksetOption::DeleteAllElements option.
C DeleteWorksetSettings(DeleteWorksetOption, WorksetId) DeleteWorksetSettings Constructs a DeleteWorksetSettings object.

Name Return Type Description
M Dispose() None Releases all resources used by the

Name Return Type Description
P DeleteWorksetOption DeleteWorksetOption The current delete workset option.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P WorksetId WorksetId The target worksetId for those elements under the deleted workset, which is used for DeleteWorksetOption::MoveElementsToWorkset.

Loading…