Manages dimension line of a dimension in drawing view.
This interface is obtained from method.
Properties
-
Property Color() As
-
Returns or sets color of dimension line.
- Example:
-
This example retrieves color of dimension line MyDimLine drawing dimension.
oColorDimLine = MyDimLine.Color
-
Property DimLineGraphRep() As
-
Returns or graphic representation of dimension line.
- Example:
-
This example retrieves graphic representation of dimension line MyDimLine drawing dimension.
odimLineGraphRep = MyDimLine.DimLineGraphRep
-
Property DimLineOrientation() As
-
Returns or orientation of dimension line.
- Example:
-
This example retrieves orientation of dimension line MyDimLine drawing dimension.
odimLineOrient = MyDimLine.DimLineOrientation
-
Property DimLineReference() As
-
Returns or reference of dimension line.
- Example:
-
This example retrieves reference of dimension line MyDimLine drawing dimension.
odimLineRef = MyDimLine.DimLineReference
-
Property DimLineRep() As (Read Only)
-
Returns or representation of dimension line.
- Example:
-
This example retrieves representation of dimension line MyDimLine drawing dimension.
odimLineRep = MyDimLine.DimLineRep
-
Property DimLineType() As (Read Only)
-
Returns type of dimension line.
- Example:
-
This example retrieves type of dimension line MyDimLine drawing dimension.
odimLineType = MyDimLine.DimLineType
-
Property Thickness() As
-
Returns or sets thickness of dimension line.
- Example:
-
This example retrieves thickness of dimension line MyDimLine drawing dimension.
oThickDimLine = MyDimLine.Thickness
Methods
-
Sub GetDimLineDir( oDirX, oDirY)
-
Returns direction of a dimension line in case of a catDimUserDefined representation mode.
To retrieve the representation mode:
.
- Parameters:
-
- oDirX,oDirY
- The components of the direction vector
- Example:
-
This example retrieves the direction vector of a dimension line MyDimLine drawing dimension.
MyDimLine.GetDimLineDir oDirX, oDirY
dd>
Sub GetGeomInfo( oGeomInfos)
Get geometrical infomation of dimension line.
- Parameters:
-
- oGeomInfos
- geometrical information.
- Example:
-
This example gets geometrical infomation of MyDimLine path.
MyDimLine.GetGeomInfo(oGeomInfos)
dd>
Func GetSymbColor( Index) As
Get symbol color of dimension line.
- Parameters:
-
- Index
- 1:first symbol
2:second symbol
3:leader symbol
dd>
- oColorSymb
- symbol color.
- Example:
-
This example gets symbol color of MyDimLine path.
ColorSymb = MyDimLine.GetSymbColor(Index)
dd>
Func GetSymbThickness( Index) As
Get symbol thickness of dimension line.
- Parameters:
-
- Index
- 1:first symbol
2:second symbol
3:leader symbol
dd>
- oThickSymb
- symbol thickness.
- Example:
-
This example gets symbol thickness of MyDimLine path.
ThickSymb = MyDimLine.GetSymbThickness(Index)
dd>
Func GetSymbType( Index) As
Get symbol type of dimension line.
- Parameters:
-
- Index
- 1:first symbol
2:second symbol
3:leader symbol
dd>
- oTypeSymb
- symbol type.
- Example:
-
This example gets symbol type of MyDimLine path.
typeSymb = MyDimLine.GetSymbType(Index)
dd>
Sub SetSymbColor( Index, iColorSymb)
Set symbol color of dimension line.
- Parameters:
-
- Index
- 1:first symbol
2:second symbol
3:leader symbol
dd>
- oColorSymb
- symbol color.
- Example:
-
This example sets symbol color of MyDimLine path.
MyDimLine.SetSymbColor(Index, iColorSymb)
dd>
Sub SetSymbThickness( Index, iThickSymb)
Set symbol thickness of dimension line.
- Parameters:
-
- Index
- 1:first symbol
2:second symbol
3:leader symbol
dd>
- oThickSymb
- symbol thickness.
- Example:
-
This example sets symbol thickness of MyDimLine path.
MyDimLine.GetSymbThickness(Index, iThickSymb)
dd>
Sub SetSymbType( Index, iSymbType)
Set symbol type of dimension line.
- Parameters:
-
- Index
- 1:first symbol
2:second symbol
3:leader symbol
dd>
- iSymbType
- symbol type.
- Example:
-
This example sets symbol type of MyDimLine path.
MyDimLine.SetSymbType(Index, iSymbType)
dd>