FamilyItemFactory.NewLinearDimension
Description:
Creates a new linear dimension object using the specified dimension type.
Creates a new linear dimension object using the specified dimension type.
Overloads (2):
NewLinearDimension(View,Line,ReferenceArray,DimensionType)
public Dimension NewLinearDimension(
View view,
Line line,
ReferenceArray references,
DimensionType dimensionType
)
-
viewThe view in which the dimension is to be visible.
-
lineThe extension line of the dimension.
-
referencesAn array of geometric references to which the dimension is to be bound. You must supply at least two references, and all references supplied must be parallel to each other and perpendicular to the extension line.
-
dimensionTypeThe dimension style to be used for the dimension.
Return Value
Dimension
If creation was successful the new linear dimension is returned,
otherwise an exception with failure information will be thrown.
-
Thrown when any input argument isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when the argument is invalid.
-
Thrown when the creation failed.