GeneralDimensions.Retrieve Method

Parent Object: GeneralDimensions

Description

Method that retrieves sketch and/or model dimensions into the drawing.

Syntax

GeneralDimensions.Retrieve( ViewOrSketch As Object, [DimensionsToRetrieve] As Variant ) As GeneralDimensionsEnumerator

Parameters

Name Type Description
ViewOrSketch Object Input object that specifies the DrawingView or the DrawingSketch object to retrieve dimensions from. If a DrawingSketch object is specified, it must be owned by a Sheet. A DrawingSketch owned by a drawing view is invalid input.

DimensionsToRetrieve Variant Optional input ObjectCollection that specifies the dimensions to retrieve. If not specified, all dimensions from the specified view or sketch are retrieved. If specified, the collection can contain sketch constraint objects or their proxies that derive from DimensionConstraint, FeatureDimension objects or FeatureDimensionProxy objects. The objects must belong to the view or sketch specified in the first argument, else an error will occur.

This is an optional argument whose default value is null.

Version

Introduced in version 9