Category 3D drawings and annotations, Object ProDimension

Function ProDimensionFeatureGet


DEPRECATED: Since Creo 1
SUPERSEDED BY: ProDimensionOwnerfeatureGet
Description
Note: This function is deprecated. For dimensions or reference dimensions, if owner feature is in group, group feature is returned which isn't the originally documented, inteded behaviour. Use ProDimensionOwnerfeatureGet() to get the owner feature that directly owns that element. Obtains the feature that owns this dimension. For dimensions or reference dimensions in annotation elements, this will return the annotation feature that owns that element, but if the owning feature is in group, it will return the group feature instead
Synopsis
#include <ProDimension.h>
ProErrorProDimensionFeatureGet(
ProDimension* dimension
/* (In)
The dimension.
*/
ProFeature* feature
/* (Out)
The feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDThe dimension is not owned by a particular feature.

Manual References:

  1. Annotations: Annotation Features and Annotations: Visiting Dimensions
  2. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0

Sample Code References:

  1. pt_userguide ( UgXsecMassProps.c )