Methods
- Func ControledRadius() As
-
Gets the Dimension on the Controled Radius interface.
- Parameters:
-
- oContRadius
- The Controled Radius. dd>
- Func DimensionLimit() As
-
Gets the Dimension on the DimensionLimit interface.
- Parameters:
-
- oDimLim
- The Dimension Limits. dd>
- Func DimensionPattern() As
-
Gets the Dimension on the DimensionPattern interface.
- Parameters:
-
- oDimPatt
- The Dimension Pattern. dd>
- Func EnvelopCondition() As
-
Gets the Dimension on the EnvelopCondition interface.
- Parameters:
-
- oEnvCond
- The Envelop Condition. dd>
- Func Get2dAnnot() As
-
Retrieves Drafting Dimension.
- Parameters:
-
- oDim
- The Drafting Dimension. dd>
- Func HasAControledRadius() As
-
Checks if the Dimension has a Controled Radius.
- Parameters:
-
- oHasConRad
-
- TRUE: The dimension has a Controled Radius
- FALSE: The dimension has not a Controled Radius dd>
- Func HasAnEnvelopCondition() As
-
Checks if the Annotation has an Envelop Condition.
- Parameters:
-
- oHasEnvCond
-
- TRUE: The dimension has an Envelop Condition
- FALSE: The dimension has not an Envelop Condition
- Func HasDimensionLimit() As
-
Checks if the Dimension has a Dimension Limit.
- Parameters:
-
- oHasDimLim
-
- TRUE: Dimension Limit exists
- FALSE: Dimension Limit does not exist
- Func IsAContinuousFeatureApplied() As
-
Checks if the Semantic Dimension is a applied on a Continuous Feature.
CF suffix size modifier is only valid for ASME Standard.
- Parameters:
-
- oIsACFDim
-
- TRUE: The dimension is a applied onto a Continuous Feature
- FALSE: The dimension is not applied onto a Continuous Feature
- Func IsADimensionPattern() As
-
Checks if the Semantic Dimension is a Dimension Pattern.
- Parameters:
-
- oIsADimPatt
-
- TRUE: The dimension is a Dimension Pattern
- FALSE: The dimension is not a Dimension Pattern
- Sub MoveValue( X, Y, SubPart, DimAngleBehavior)
-
Moves the dimension value at a given point.
- Returns:
- HRESULT error returned code If the modification of the vertical offset value can not be performed because the parameter is locked in the current standard, the method return HRESULT = S_READ_ONLY. dd>
- Parameters:
-
- X
- Point abscissa on which the dimension value will be positionned. dd>
- Y
- Point ordinate on which the dimension value will be positionned. dd>
- SubPart
- Defines which part of the dimension should be moved
-1 = Value (vertical move is take account according ptPos coordinates)
0 = Both dimension line and value
1 = Value
2 = Dimension line
3 = Secondary part
4 = Secondary part and value
5 = Secondary part and dimension line
6 = Secondary part, dimension line and value
7 = Value leader (for dimension line with leader one part or two parts) dd> - DimAngleBehavior
- Defines angle dimension line behavior.
0 = Sector angle is switched when ptPos is in opposite sector (Default)
1 = Sector angle is kept what ever ptPos placement - Example:
-
This example move dimension value MyDimension path.
MyDimension.MoveValue(X, Y, SubPart, DimAngleBehavior)