DrawingCoordDims (Object)

A collection of all the drawing Coordinate Dimension currently managed by a drawing view of drawing sheet in a drawing document.

Methods


Func Item( iIndex) As
Returns a drawing CoordDim using its index from the drawing CoordDims collection.
Parameters:
iIndex
The index of the drawing CoordDim to retrieve from the collection of drawing CoordDims. As a numerics, this index is the rank of the drawing CoordDim in the collection. The index of the first drawing CoordDim in the collection is 1, and the index of the last drawing CoordDim is Count.
Returns:
The retrieved drawing CoordDim
Example:
This example retrieves in ThisDrawingCoordDim the second drawing CoordDim, in the drawing CoordDim collection of the active view in the active sheet, in the active document supposed to be a drawing document.
 Dim MyView  As DrawingView
 Set MyView  = MySheet.Views.ActiveView
 Dim ThisDrawingCoordDim As DrawingCoordDim
 Set ThisDrawingCoordDim = MyView.CoordDims.Item(2)
 
Sub Remove( iIndex)
Removes a drawing CoordDim from the drawing CoordDims collection.
Parameters:
iIndex
The index of the drawing CoordDim to remove from the collection of drawing CoordDims. As a numerics, this index is the rank of the drawing text in the collection. The index of the first drawing CoordDim in the collection is 1, and the index of the last drawing CoordDim is Count.
Example:
The following example removes the third drawing CoordDim from the drawing CoordDim collection of the active view of the active document, supposed to be a drawing document.
 Dim MyView As DrawingView
 Set MyView  = MySheet.Views.ActiveView
 MyView.CoordDims.Remove(3)