<Code Lib>
2023 Method
Changes 0
M

IControllableDropHandler.CanExecute

Description:
Implement this method to inform Revit whether the drop event can be executed onto the given view.
Remarks:
Document modifications are not permitted from this callback.

bool CanExecute(
	UIDocument document,
	Object data,
	ElementId dropViewId
)

Return Value bool Return true to activate the target view and execute the drop. Return false to cancel the activation and the drop execution.

Loading…