All Frameworks  Object Hierarchy  This Framework  Indexes   

DrawingDimLine (Object)

Manages dimension line of a dimension in drawing view.

This interface is obtained from DrawingDimension.GetDimLine method.


Property Index

Color
Returns or sets color of dimension line.
DimLineGraphRep
Returns or graphic representation of dimension line.
DimLineOrientation
Returns or orientation of dimension line.
DimLineReference
Returns or reference of dimension line.
DimLineRep
Returns or representation of dimension line.
DimLineType
Returns type of dimension line.
Thickness
Returns or sets thickness of dimension line.

Method Index

GetDimLineDir
Returns direction of a dimension line in case of a DrwDimUserDefined representation mode.
GetGeomInfo
Get geometrical infomation of dimension line.
GetSymbColor
Get symbol color of dimension line.
GetSymbThickness
Get symbol thickness of dimension line.
GetSymbType
Get symbol type of dimension line.
SetSymbColor
Set symbol color of dimension line.
SetSymbThickness
Set symbol thickness of dimension line.
SetSymbType
Set symbol type of dimension line.

Properties


o Property Color() As
Returns or sets color of dimension line.
Example:
This example retrieves color of dimension line MyDimLine drawing dimension.
 oColorDimLine = MyDimLine.Color
 
o 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
 
o Property DimLineOrientation() As
Returns or orientation of dimension line.
Example:
This example retrieves orientation of dimension line MyDimLine drawing dimension.
 odimLineOrient = MyDimLine.DimLineOrientation
 
o Property DimLineReference() As
Returns or reference of dimension line.
Example:
This example retrieves reference of dimension line MyDimLine drawing dimension.
 odimLineRef = MyDimLine.DimLineReference
 
o 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
 
o Property DimLineType() As (Read Only)
Returns type of dimension line.
Example:
This example retrieves type of dimension line MyDimLine drawing dimension.
 odimLineType = MyDimLine.DimLineType
 
o 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


o Sub GetDimLineDir( oDirX,
oDirY)
Returns direction of a dimension line in case of a DrwDimUserDefined 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
 
o 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)
 
o Func GetSymbColor( Index) As
Get symbol color of dimension line.
Parameters:
Index
1:first symbol 2:second symbol 3:leader symbol
oColorSymb
symbol color.
Example:
This example gets symbol color of MyDimLine path.
 ColorSymb = MyDimLine.GetSymbColor(Index)
 
o Func GetSymbThickness( Index) As
Get symbol thickness of dimension line.
Parameters:
Index
1:first symbol 2:second symbol 3:leader symbol
oThickSymb
symbol thickness.
Example:
This example gets symbol thickness of MyDimLine path.
 ThickSymb = MyDimLine.GetSymbThickness(Index)
 
o Func GetSymbType( Index) As
Get symbol type of dimension line.
Parameters:
Index
1:first symbol 2:second symbol 3:leader symbol
oTypeSymb
symbol type.
Example:
This example gets symbol type of MyDimLine path.
 typeSymb = MyDimLine.GetSymbType(Index)
 
o Sub SetSymbColor( Index,
iColorSymb)
Set symbol color of dimension line.
Parameters:
Index
1:first symbol 2:second symbol 3:leader symbol
oColorSymb
symbol color.
Example:
This example sets symbol color of MyDimLine path.
 MyDimLine.SetSymbColor(Index, iColorSymb)
 
o Sub SetSymbThickness( Index,
iThickSymb)
Set symbol thickness of dimension line.
Parameters:
Index
1:first symbol 2:second symbol 3:leader symbol
oThickSymb
symbol thickness.
Example:
This example sets symbol thickness of MyDimLine path.
 MyDimLine.GetSymbThickness(Index, iThickSymb)
 
o Sub SetSymbType( Index,
iSymbType)
Set symbol type of dimension line.
Parameters:
Index
1:first symbol 2:second symbol 3:leader symbol
iSymbType
symbol type.
Example:
This example sets symbol type of MyDimLine path.
 MyDimLine.SetSymbType(Index, iSymbType)
 

Copyright © 2003, Dassault Systèmes. All rights reserved.