2023 Members
Changes 4
M

WorksharingUtils

Name Return Type Description Inherited From
M CheckoutElements(Document, ICollection.ElementId.) ICollection<ElementId> Obtains ownership for the current user of as many specified elements as possible.
M CheckoutElements(Document, ISet.ElementId., TransactWithCentralOptions) ISet<ElementId> Obtains ownership for the current user of as many specified elements as possible.
M CheckoutWorksets(Document, ICollection.WorksetId.) ICollection<WorksetId> Obtains ownership for the current user of as many specified worksets as possible.
M CheckoutWorksets(Document, ISet.WorksetId., TransactWithCentralOptions) ISet<WorksetId> Obtains ownership for the current user of as many specified worksets as possible.
M CreateNewLocal(ModelPath, ModelPath) None Takes a path to a central model and copies the model into a new local file for the current user.
M Dispose() None Releases all resources used by the WorksharingUtils
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M GetCheckoutStatus(Document, ElementId) CheckoutStatus Gets the ownership status of an element.
M GetCheckoutStatus(Document, ElementId, String.) CheckoutStatus Gets the ownership status and outputs the owner of an element.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetModelUpdatesStatus(Document, ElementId) ModelUpdatesStatus Gets the status of a single element in the central model.
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M GetUserWorksetInfo(ModelPath) IList<WorksetPreview> Gets information about user worksets in a workshared model file, without fully opening the file.
M GetWorksharingTooltipInfo(Document, ElementId) WorksharingTooltipInfo Gets worksharing information about an element to display in an in-canvas tooltip.
M RelinquishOwnership(Document, RelinquishOptions, TransactWithCentralOptions) RelinquishedItems Relinquishes ownership by the current user of as many specified elements and worksets as possible, and grants element ownership requested by other users on a first-come, first-served basis.
M ToString None Returns a string that represents the current object. (Inherited from Object .) Object .
Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.