M

ItemFactoryBase.NewDimension

Description:
Creates a new linear dimension object using the default dimension style.
Remarks:
The currently user set default style is used for the created dimension.
Overloads (2):
NewDimension(View,Line,ReferenceArray)
public Dimension NewDimension(
	View view,
	Line line,
	ReferenceArray references
)
  • view
    The view in which the dimension is to be visible. The view must be null if the document is in SketchEditScope.
  • line
    The line drawn for the dimension.
  • references
    An array of geometric references to which the dimension is to be bound.
Return Value Dimension If successful a new dimension object, otherwise .