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
dd>
- 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)
dd>
Sub GetFunnel( iIndex, oMode, oAngle, oHeight, oWidth)
Get funnel infomation of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- oMode
- funnel inside/outside mode.
dd>
- oAngle
- funnel angle.
dd>
- oHeight
- funnel height.
dd>
- oWidth
- funnel width.
- Example:
-
This example gets funnel infomation of MyExtLine path.
MyExtLine.GetFunnel(iIndex, oMode, oAngle, oHeight, oWidth)
dd>
Func GetGap( iIndex) As
Get gap of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- oGap
- Gap.
- Example:
-
This example gets gap of MyExtLine path.
Gap = MyExtLine.GetGap(iIndex)
dd>
Sub GetGeomInfo( iIndex, oGeomInfos)
Get geometrical infomation of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- oGeomInfos
- List of geometric coordinates (X1,Y1,X2,Y2,X3,Y3).
- Example:
-
This example gets geometrical infomation of MyExtLine path.
MyExtLine.GetGeomInfo(iIndex, oGeomInfos)
dd>
Func GetInterrupt( iIndex) As
Get the number of interruptions stored in each extension lines.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- oNbIntOnExtLine
- The number of interruptions.
- Example:
-
This example gets the number of interruptions of MyExtLine path.
NbIntOnExtLine = MyExtLine.GetInterrupt(iIndex)
dd>
Func GetOverrun( iIndex) As
Get overrun of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- oOverrun
- Overrun
- Example:
-
This example gets overrun of MyExtLine path.
Overrun = MyExtLine.GetOverrun(iIndex)
dd>
Func GetVisibility( iIndex) As
Get visivility of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- oGap
- Gap.
- Example:
-
This example gets visivility of MyExtLine path.
ExtlineVisibility = MyExtLine.GetVisibility(iIndex)
dd>
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)
dd>
Sub SetFunnel( iIndex, iMode, iAngle, iHeight, iWidth)
Set funnel infomation of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- iMode
- funnel inside/outside mode.
dd>
- iAngle
- funnel angle.
dd>
- iHeight
- funnel height.
dd>
- iWidth
- funnel width.
- Example:
-
This example sets funnel infomation of MyExtLine path.
MyExtLine.SetFunnel(iIndex, iMode, iAngle, iHeight, iWidth)
dd>
Sub SetGap( iIndex, iGap)
Set gap of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- iGap
- gap
- Example:
-
This example sets gap of MyExtLine path.
MyExtLine.SetGap(iIndex, iGap)
dd>
Sub SetOverrun( iIndex, iOverrun)
Set overrun of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- iOverrun
- Overrun
- Example:
-
This example sets overrun of MyExtLine path.
MyExtLine.SetOverrun(iIndex, iOverrun)
dd>
Sub SetVisibility( iIndex, iExtlineVisibility)
Set visivility of dimension extension line.
- Parameters:
-
- iIndex
- 1: first extension line
2: second extension line
dd>
- iExtlineVisibility
- visivility
- Example:
-
This example sets visivility of MyExtLine path.
MyExtLine.SetVisibility(iIndex, iExtlineVisibility)
dd>