RVTDocs.com

DisplacementElement.IsValidAsParentInView

Method
Description:
Indicates whether the specified DisplacementElement can be used as a parent when creating a DisplacementElement in the specified view.
Syntax
public static bool IsValidAsParentInView(
	View view,
	DisplacementElement parent
)
Parameters
Parameter Type Description
view View A view.
parent DisplacementElement A DisplacementElement.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null