The OnRetrieveDimensions event notifies a client whenever dimensions are retrieved into a drawing using the Retrieve Dimensions command.
Name | Type | Description |
SketchDimensions | ObjectsEnumerator | A collection containing the original dimensions that were retrieved into the drawing. These will be various dimension constraints or feature dimensions that were created in the part or drawing sketch. Feature dimensions are the dimensions created automatically when a feature is created. For example, when you create an extrude feature with a distance extent two feature dimensions are created. One to control the distance and another to control the taper angle. |
DrawingDimensions | GeneralDimensionsEnumerator | A collection containing the drawing dimensions that were created as a result of the retrieve. The items in this collection will match up 1 for 1 with the dimensions provided by the SketchDimensions argument. |
BeforeOrAfter | EventTimingEnum | Input EventTimingEnum indicating when the event is being fired. This notification is only provided after the dimensions have been retrieved so the value of this argument will always be kAfter. |
Context | NameValueMap | Input object that can be used to determine the context of why the event fired. No context information is provided for this event. |
HandlingCode | HandlingCodeEnum | Output that indicates how you are handling the event. The value of this argument is currently ignored for this event. |