2021 Method
Changes 0
M

UIDocument.PromptToPlaceElementTypeOnLegendView

Description:
Prompts the user to place an element type onto a legend view.
Remarks:
This method works only for non-annotation element types. For annotations, use PromptForFamilyInstancePlacement(Autodesk::Revit::DB::FamilySymbol) instead. This method uses its own transaction, so it's not permitted to be invoked in an active transaction. The user is not permitted to change the active legend view or during this placement operation (the operation will be cancelled). In a single invocation, the user can place multiple instances of the input element type until they finish the placement (with Cancel or ESC or a click elsewhere in the UI).
public void PromptToPlaceElementTypeOnLegendView(
	ElementType elementType
)