Manages dimension value of a dimension in drawing view.
This interface is obtained from method.
Properties
-
Property FakeDimType() As
-
Returns or sets fake dimension type of value.
- Example:
-
This example retrieves fake dimension type of value MyDimValue drawing dimension.
oFakeType = MyDimValue.FakeDimType
-
Property ScoringMode() As
-
Get dimension scoring mode.
- Example:
-
This example gets dimension scoring mode of MyValue path.
ValueScoreType = MyValue.ScoringMode
Property Value() As (Read Only)
Returns value of dimension.
- Example:
-
This example retrieves value of dimension MyDimValue drawing dimension.
oValue = MyDimValue.Value
Property ValueFramedElement() As
Get dimension framed element.
Example:
This example gets dimension framed element of MyValue path.
ValueFramedElement = MyValue.ValueFramedElement
Property ValueFramedGroup() As
Returns or sets dimension framed group.
- Example:
-
This example retrieves dimension framed group MyDimValue drawing dimension.
oValueFramedGroup = MyDimValue.FakeDimType
Methods
-
Sub GetBaultText( iIndex, oBefore, oAfter, oUpper, oLower)
-
Get bault text of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oBefore
- before text.
dd>
- oAfter
- after text
dd>
- oUpper
- upper text
dd>
- oLower
- lower text
- Example:
-
This example gets bault text of MyValue path.
MyValue.GetBaultText(iIndex, oBefore, oAfter, oUpper, oLower)
dd>
Func GetDisplayUnit( iIndex) As
Get display unit of dimension value.
- Parameters:
-
- Index
- 1: main value
2: dual value
dd>
- oDisplUnit
- before text.
- Example:
-
This example gets format unit of MyValue path.
FrmUnit = MyValue.GetDisplayUnit(iIndex)
dd>
Func GetFakeDimValue( iIndex) As
Get fake value of dimension.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oFakeDimValue
- before text.
- Example:
-
This example gets fake value of MyValue path.
FakeDimValue = MyValue.GetFakeDimValue(iIndex)
dd>
Func GetFormatDisplayFactor( iIndex) As
Get format display factor of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oFrmDspFact
- before text.
- Example:
-
This example gets format display factor of MyValue path.
FrmDspFact = MyValue.GetFormatDisplayFactor(iIndex)
dd>
Func GetFormatName( iIndex) As
Get format name of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oFmName
- before text.
- Example:
-
This example gets format name of MyValue path.
FmName = MyValue.GetFormatName(iIndex)
dd>
Func GetFormatPrecision( Index) As
Get format precision of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oFrmPrecision
- before text.
- Example:
-
This example gets format precision of MyValue path.
FrmPrecision = MyValue.GetFormatPrecision(iIndex)
dd>
Func GetFormatType( iIndex) As
Get format type of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oFrmType
- before text.
- Example:
-
This example gets format type of MyValue path.
FrmType = MyValue.GetFormatType(iIndex)
dd>
Func GetFormatUnit( iIndex) As
Get format unit of dimension value.
- Parameters:
-
- Index
- 1: main value
2: dual value
dd>
- oFrmUnit
- before text.
- Example:
-
This example gets format unit of MyValue path.
FrmUnit = MyValue.GetFormatUnit(iIndex)
dd>
Sub GetPSText( iIndex, oPrefix, oSuffix)
Get PS text to dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oPrefix
- prefix text.
dd>
- oSuffix
- suffix text
- Example:
-
This example gets PS text of MyValue path.
MyValue.GetBaultText(iIndex, oPrefix, oSuffix)
dd>
Func GetScoredElement( iIndex) As
Get dimension scored element.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- oScoredElement
- TRUE:
Scoring is applied to the all bloc text.
FALSE:
Scoring is only applied to the value.
- Example:
-
This example gets dimension scored element of MyValue path.
ScoredElement = MyValue.GetScoredElement(iIndex)
dd>
Sub SetBaultText( iIndex, iBefore, iAfter, iUpper, iLower)
Set bault text to dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iBefore
- before text.
dd>
- iAfter
- after text
dd>
- iUpper
- upper text
dd>
- iLower
- lower text
- Example:
-
This example sets bault text of MyValue path.
MyValue.SetBaultText(iIndex, iBefore, iAfter, iUpper, iLower)
dd>
Sub SetFakeDimValue( iIndex, iFakeDimValue)
Set fake value of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iFakeDimValue
- before text.
- Example:
-
This example gets fake value of MyValue path.
MyValue.SetFakeDimValue(iIndex, iFakeDimValue)
dd>
Sub SetFormatDisplayFactor( iIndex, iFrmDspFact)
Set format display factor of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iFrmDspFact
- before text.
- Example:
-
This example gets format display factor of MyValue path.
MyValue.SetFormatDisplayFactor(iIndex, iFrmDspFact)
dd>
Sub SetFormatName( iIndex, iFrmName)
Set format name of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iFrmName
- before text.
- Example:
-
This example gets format name of MyValue path.
MyValue.SetFormatName(iIndex, iFrmName)
dd>
Sub SetFormatPrecision( iIndex, iFrmPrecision)
Set format precision of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iFrmPrecision
- before text.
- Example:
-
This example gets format precision of MyValue path.
MyValue.SetFormatPrecision(iIndex, iFrmPrecision)
dd>
Sub SetFormatType( iIndex, iFrmType)
Set format type of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iFrmType
- before text.
- Example:
-
This example gets format type of MyValue path.
MyValue.SetFormatType(iIndex, iFrmType)
dd>
Sub SetFormatUnit( iIndex, iFrmUnit)
Set format unit of dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iFrmUnit
- before text.
- Example:
-
This example gets format unit of MyValue path.
MyValue.SetFormatUnit(iIndex, iFrmUnit)
dd>
Sub SetPSText( iIndex, iPrefix, iSuffix)
Set PS text to dimension value.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iPrefix
- prefix text.
dd>
- iSuffix
- suffix text
- Example:
-
This example sets PS text of MyValue path.
MyValue.SetBaultText(iIndex, iPrefix, iSuffix)
dd>
Sub SetScoredElement( iIndex, iScoredElement)
Set dimension scored element.
- Parameters:
-
- iIndex
- 1: main value
2: dual value
dd>
- iScoredElement
- TRUE:
Scoring is applied to the all bloc text.
FALSE:
Scoring is only applied to the value.
- Example:
-
This example gets dimension scored element of MyValue path.
MyValue.SetScoredElement(iIndex, iScoredElement)
dd>