The ProDimension Object
The ProDimension object handle is a DHandle that is equivalent to ProModelitem. The owner field can be a solid or a drawing, depending upon where the dimension is stored. Dimensions created in drawing mode may be stored in the drawing or in the solid depending upon the setting of the config.pro option CREATE_DRAWING_DIMS_ONLY. The type field is either PRO_DIMENSION or PRO_REF_DIMENSION. The ID is the integer used to identify the dimension inside . It corresponds to the numerical part of the default symbol assigned to the dimension when it is created.
The ProDimension object also inherits from ProModelitem, which means that functions such as ProModelitemInit() and ProSelectionModelitemGet() can be used for it (ProDimensionSymbolGet() and ProDimensionSymbolSet() are recommended for this purpose, instead of ProModelitemNameGet() and ProModelitemNameSet()).
这对您有帮助吗?