ViewShapeBuilder.ValidateShape
Description:
Validates a shape represented as a collection of geometry objects for use as a view-specific shape. The objects are expected to be either points, curves or polylines.
Validates a shape represented as a collection of geometry objects for use as a view-specific shape. The objects are expected to be either points, curves or polylines.
public static bool ValidateShape(
IList<GeometryObject> shape,
DirectShapeTargetViewType targetViewType
)
-
IList<GeometryObject>shape
-
targetViewType
Return Value
Boolean
Returns true if %shape% may be used as a view-specific shape representation, false otherwise.
-
targetViewType is not DirectShapeTargetViewType::Plan
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration