GeneralDimensions.GetRetrievableDimensions Method

Parent Object: GeneralDimensions

Description

Method that returns a collection of objects that represent the valid set of model dimensions that can be retrieved into the input drawing view.

Remarks

Based on the drawing view orientation, not all dimensions from the model can be retrieved into the view. The returned collection can contain sketch constraint objects or their proxies that derive from DimensionConstraint, FeatureDimension objects or FeatureDimensionProxy objects.

Syntax

GeneralDimensions.GetRetrievableDimensions( View As DrawingView, [ModelObject] As Variant ) As ObjectCollection

Parameters

Name Type Description
View DrawingView Input DrawingView object that is to be queried for retrievable dimensions.
ModelObject Variant Optional input object from the model referenced by the drawing view that specifies a filter for this method. If specified, only the dimensions related to this object will be returned. Valid inputs include PlanarSketch, any of the objects that derive from PartFeature, ComponentOccurrence and the proxies to all these objects. If not specified, all the valid dimensions for the input view are returned.

This is an optional argument whose default value is null.

Version

Introduced in version 2008