ItemFactoryBase.NewDimension
Description:
Creates a new linear dimension object using the specified dimension style.
Creates a new linear dimension object using the specified dimension style.
Overloads (2):
NewDimension(View,Line,ReferenceArray,DimensionType)
public Dimension NewDimension(
View view,
Line line,
ReferenceArray references,
DimensionType dimensionType
)
-
viewThe view in which the dimension is to be visible. The view must be null if the document is in SketchEditScope.
-
lineThe line drawn for the dimension.
-
referencesAn array of geometric references to which the dimension is to be bound.
-
dimensionTypeThe dimension style to be used for the dimension.
-
Thrown when references are not geometric references.