Share

DetailElementOrderUtils.SendToBack(Document, View, ICollection<ElementId>) Method

Places the given detail instances behind all other detail instances in the view, while keeping the order of the given ones.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public static void SendToBack(
	Document document,
	View view,
	ICollection<ElementId> detailElementIds
)

Parameters

document  Document
The document.
view  View
The view in which the details appear.
detailElementIds  ICollection<ElementId>
The details to send to back.

Exceptions

ExceptionCondition
ArgumentException The document does not support detail draw order. Only projects and 3d families support draw order. 2d families and in-place families do not support draw order. -or- detailElementIds is empty or it contains elements that do not participate in detail draw ordering. Details must be visible in the view. -or- In 3d families, detail draw order can only be adjusted in views that are parallel to the document's X, Y or Z axes.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?