DrawingDimExtLine (Object)

Manages extension lines of a dimension in drawing view.

This interface is obtained from method.


Properties


Property Color() As
Returns or sets color of extension line.
Example:
This example retrieves color of extension line MyExtLine drawing dimension.
 oColorExtLine = MyExtLine.Color
 
Property ExtLineSlant() As
Returns or sets slant angle of extension line.
Example:
This example retrieves slant angle of extension line MyExtLine drawing dimension.
 oExtLineSlant = MyExtLine.ExtLineSlant
 
Property ExtLineType() As (Read Only)
Returns extension line type of dimension.
Example:
This example retrieves extension line type of dimension MyExtLine drawing dimension.
 oExtLineType = MyExtLine.ExtLineType
 
Property Thickness() As
Returns or sets thickness of extension line.
Example:
This example retrieves thickness of extension line MyExtLine drawing dimension.
 oThickExtLine = MyExtLine.Thickness
 

Methods


Sub AddInterrupt( iIndex, iTwoPoints)
Add an interrupt to an extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
iTwoPoints
Defines the first and second point of the gap to create.
Example:
This example adds an interrupt to MyExtLine path.
 MyExtLine.AddInterrupt(iIndex, iTwoPoints)
 
Sub GetFunnel( iIndex, oMode, oAngle, oHeight, oWidth)
Get funnel infomation of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
oMode
funnel inside/outside mode.
oAngle
funnel angle.
oHeight
funnel height.
oWidth
funnel width.
Example:
This example gets funnel infomation of MyExtLine path.
 MyExtLine.GetFunnel(iIndex, oMode, oAngle, oHeight, oWidth)
 
Func GetGap( iIndex) As
Get gap of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
oGap
Gap.
Example:
This example gets gap of MyExtLine path.
 Gap = MyExtLine.GetGap(iIndex)
 
Sub GetGeomInfo( iIndex, oGeomInfos)
Get geometrical infomation of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
oGeomInfos
List of geometric coordinates (X1,Y1,X2,Y2,X3,Y3).
Example:
This example gets geometrical infomation of MyExtLine path.
 MyExtLine.GetGeomInfo(iIndex, oGeomInfos)
 
Func GetInterrupt( iIndex) As
Get the number of interruptions stored in each extension lines.
Parameters:
iIndex
1: first extension line 2: second extension line
oNbIntOnExtLine
The number of interruptions.
Example:
This example gets the number of interruptions of MyExtLine path.
 NbIntOnExtLine = MyExtLine.GetInterrupt(iIndex)
 
Func GetOverrun( iIndex) As
Get overrun of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
oOverrun
Overrun
Example:
This example gets overrun of MyExtLine path.
 Overrun = MyExtLine.GetOverrun(iIndex)
 
Func GetVisibility( iIndex) As
Get visivility of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
oGap
Gap.
Example:
This example gets visivility of MyExtLine path.
 ExtlineVisibility = MyExtLine.GetVisibility(iIndex)
 
Sub RemoveInterrupt( iIndex)
Remove interruption on extension lines.
Parameters:
iIndex
1: first extension line 2: second extension line
Example:
This example Remove interruption on MyExtLine path.
 MyExtLine.RemoveInterrupt(iIndex)
 
Sub SetFunnel( iIndex, iMode, iAngle, iHeight, iWidth)
Set funnel infomation of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
iMode
funnel inside/outside mode.
iAngle
funnel angle.
iHeight
funnel height.
iWidth
funnel width.
Example:
This example sets funnel infomation of MyExtLine path.
 MyExtLine.SetFunnel(iIndex, iMode, iAngle, iHeight, iWidth)
 
Sub SetGap( iIndex, iGap)
Set gap of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
iGap
gap
Example:
This example sets gap of MyExtLine path.
 MyExtLine.SetGap(iIndex, iGap)
 
Sub SetOverrun( iIndex, iOverrun)
Set overrun of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
iOverrun
Overrun
Example:
This example sets overrun of MyExtLine path.
 MyExtLine.SetOverrun(iIndex, iOverrun)
 
Sub SetVisibility( iIndex, iExtlineVisibility)
Set visivility of dimension extension line.
Parameters:
iIndex
1: first extension line 2: second extension line
iExtlineVisibility
visivility
Example:
This example sets visivility of MyExtLine path.
 MyExtLine.SetVisibility(iIndex, iExtlineVisibility)