RVTDocs.com

ViewShapeBuilder.ValidateViewType

Method
Description:
Validates the incoming view type. As of today, the only allowed view type is Plan.
Syntax
public static bool ValidateViewType(
	DirectShapeTargetViewType targetViewType
)
Parameters
Parameter Type Description
targetViewType DirectShapeTargetViewType
Return Value
Type Description
Boolean True if %targetViewType% is DirectShapeTargetViewType::Plan
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration