Click or drag to resize

CentermarkCreate Method (DimensionStyle, Plane, Curve, Double)

Creates a new center mark dimension.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static Centermark Create(
	DimensionStyle dimStyle,
	Plane plane,
	Curve curve,
	double curveParameter
)

Parameters

dimStyle
Type: Rhino.DocObjectsDimensionStyle
Dimension's dimension style.
plane
Type: Rhino.GeometryPlane
Dimension's plane.
curve
Type: Rhino.GeometryCurve
Curve used to determine the center mark's radius.
curveParameter
Type: SystemDouble
Parameter on curve used to determine the center mark's radius.

Return Value

Type: Centermark
A new center mark if successful, null otherwise.
Exceptions
ExceptionCondition
ArgumentNullException
See Also