RVTDocs.com

ViewShapeBuilder(DirectShapeTargetViewType)

Constructor
Description:
A constructor for an ViewShapeBuilder object that takes a view type. It will infer the view normal from view type. View normal and view type are used to validate the geometry to be stored as a view-specific shape representation of a DirectShape object.
Syntax
public ViewShapeBuilder(
	DirectShapeTargetViewType targetViewType
)
Parameters
Parameter Type Description
targetViewType DirectShapeTargetViewType View type for which this shape representation is intended. Currently limited to Plan Views.
Return Value
Exceptions
Exception Condition
ArgumentException targetViewType is not DirectShapeTargetViewType::Plan
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration