FamilyItemFactory.NewLinearDimension
Description:
Generate a new linear dimension object using the default dimension type.
Generate a new linear dimension object using the default dimension type.
Remarks:
The currently user set default style is used for the created dimension.
The currently user set default style is used for the created dimension.
Overloads (2):
NewLinearDimension(View,Line,ReferenceArray)
public Dimension NewLinearDimension(
View view,
Line line,
ReferenceArray references
)
-
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.
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 is.
-
Thrown when the argument "references" is invalid.
-
Thrown when the creation failed.