Indexes  Previous Next  

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 long
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 CatDimLineGraphRep
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 CatDimOrientation
Returns or orientation of dimension line.
Example:
This example retrieves orientation of dimension line MyDimLine drawing dimension.
 odimLineOrient = MyDimLine.DimLineOrientation
 
o Property DimLineReference() As CatDimReference
Returns or reference of dimension line.
Example:
This example retrieves reference of dimension line MyDimLine drawing dimension.
 odimLineRef = MyDimLine.DimLineReference
 
o Property DimLineRep() As CatDimLineRep (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 long (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 double
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(double oDirX,
double 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(CATSafeArrayVariant 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(long Index) As long
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(long Index) As double
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(long Index) As CatDimSymbols
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(long Index,
long 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(long Index,
double 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(long Index,
CatDimSymbols 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 © 2006, Dassault Systèmes. All rights reserved.