DrawingDimValue (Object)

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
oBefore
before text.
oAfter
after text
oUpper
upper text
oLower
lower text
Example:
This example gets bault text of MyValue path.
 MyValue.GetBaultText(iIndex, oBefore, oAfter, oUpper, oLower)
 
Func GetDisplayUnit( iIndex) As
Get display unit of dimension value.
Parameters:
Index
1: main value 2: dual value
oDisplUnit
before text.
Example:
This example gets format unit of MyValue path.
 FrmUnit = MyValue.GetDisplayUnit(iIndex)
 
Func GetFakeDimValue( iIndex) As
Get fake value of dimension.
Parameters:
iIndex
1: main value 2: dual value
oFakeDimValue
before text.
Example:
This example gets fake value of MyValue path.
 FakeDimValue = MyValue.GetFakeDimValue(iIndex)
 
Func GetFormatDisplayFactor( iIndex) As
Get format display factor of dimension value.
Parameters:
iIndex
1: main value 2: dual value
oFrmDspFact
before text.
Example:
This example gets format display factor of MyValue path.
 FrmDspFact = MyValue.GetFormatDisplayFactor(iIndex)
 
Func GetFormatName( iIndex) As
Get format name of dimension value.
Parameters:
iIndex
1: main value 2: dual value
oFmName
before text.
Example:
This example gets format name of MyValue path.
 FmName = MyValue.GetFormatName(iIndex)
 
Func GetFormatPrecision( Index) As
Get format precision of dimension value.
Parameters:
iIndex
1: main value 2: dual value
oFrmPrecision
before text.
Example:
This example gets format precision of MyValue path.
 FrmPrecision = MyValue.GetFormatPrecision(iIndex)
 
Func GetFormatType( iIndex) As
Get format type of dimension value.
Parameters:
iIndex
1: main value 2: dual value
oFrmType
before text.
Example:
This example gets format type of MyValue path.
 FrmType = MyValue.GetFormatType(iIndex)
 
Func GetFormatUnit( iIndex) As
Get format unit of dimension value.
Parameters:
Index
1: main value 2: dual value
oFrmUnit
before text.
Example:
This example gets format unit of MyValue path.
 FrmUnit = MyValue.GetFormatUnit(iIndex)
 
Sub GetPSText( iIndex, oPrefix, oSuffix)
Get PS text to dimension value.
Parameters:
iIndex
1: main value 2: dual value
oPrefix
prefix text.
oSuffix
suffix text
Example:
This example gets PS text of MyValue path.
 MyValue.GetBaultText(iIndex, oPrefix, oSuffix)
 
Func GetScoredElement( iIndex) As
Get dimension scored element.
Parameters:
iIndex
1: main value 2: dual value
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)
 
Sub SetBaultText( iIndex, iBefore, iAfter, iUpper, iLower)
Set bault text to dimension value.
Parameters:
iIndex
1: main value 2: dual value
iBefore
before text.
iAfter
after text
iUpper
upper text
iLower
lower text
Example:
This example sets bault text of MyValue path.
 MyValue.SetBaultText(iIndex, iBefore, iAfter, iUpper, iLower)
 
Sub SetFakeDimValue( iIndex, iFakeDimValue)
Set fake value of dimension value.
Parameters:
iIndex
1: main value 2: dual value
iFakeDimValue
before text.
Example:
This example gets fake value of MyValue path.
 MyValue.SetFakeDimValue(iIndex, iFakeDimValue)
 
Sub SetFormatDisplayFactor( iIndex, iFrmDspFact)
Set format display factor of dimension value.
Parameters:
iIndex
1: main value 2: dual value
iFrmDspFact
before text.
Example:
This example gets format display factor of MyValue path.
 MyValue.SetFormatDisplayFactor(iIndex, iFrmDspFact)
 
Sub SetFormatName( iIndex, iFrmName)
Set format name of dimension value.
Parameters:
iIndex
1: main value 2: dual value
iFrmName
before text.
Example:
This example gets format name of MyValue path.
 MyValue.SetFormatName(iIndex, iFrmName)
 
Sub SetFormatPrecision( iIndex, iFrmPrecision)
Set format precision of dimension value.
Parameters:
iIndex
1: main value 2: dual value
iFrmPrecision
before text.
Example:
This example gets format precision of MyValue path.
 MyValue.SetFormatPrecision(iIndex, iFrmPrecision)
 
Sub SetFormatType( iIndex, iFrmType)
Set format type of dimension value.
Parameters:
iIndex
1: main value 2: dual value
iFrmType
before text.
Example:
This example gets format type of MyValue path.
 MyValue.SetFormatType(iIndex, iFrmType)
 
Sub SetFormatUnit( iIndex, iFrmUnit)
Set format unit of dimension value.
Parameters:
iIndex
1: main value 2: dual value
iFrmUnit
before text.
Example:
This example gets format unit of MyValue path.
 MyValue.SetFormatUnit(iIndex, iFrmUnit)
 
Sub SetPSText( iIndex, iPrefix, iSuffix)
Set PS text to dimension value.
Parameters:
iIndex
1: main value 2: dual value
iPrefix
prefix text.
iSuffix
suffix text
Example:
This example sets PS text of MyValue path.
 MyValue.SetBaultText(iIndex, iPrefix, iSuffix)
 
Sub SetScoredElement( iIndex, iScoredElement)
Set dimension scored element.
Parameters:
iIndex
1: main value 2: dual value
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)