All Frameworks  Object Hierarchy  This Framework  Indexes   

DrawingDimExtLine (Object)

Manages extension lines of a dimension in drawing view.

This interface is obtained from DrawingDimension.GetExtLine method.


Property Index

Color
Returns or sets color of extension line.
ExtLineSlant
Returns or sets slant angle of extension line.
ExtLineType
Returns extension line type of dimension.
Thickness
Returns or sets thickness of extension line.

Method Index

AddInterrupt
Add an interrupt to an extension line.
GetFunnel
Get funnel infomation of dimension extension line.
GetGap
Get gap of dimension extension line.
GetGeomInfo
Get geometrical infomation of dimension extension line.
GetInterrupt
Get the number of interruptions stored in each extension lines.
GetOverrun
Get overrun of dimension extension line.
GetVisibility
Get visivility of dimension extension line.
RemoveInterrupt
Remove interruption on extension lines.
SetFunnel
Set funnel infomation of dimension extension line.
SetGap
Set gap of dimension extension line.
SetOverrun
Set overrun of dimension extension line.
SetVisibility
Set visivility of dimension extension line.

Properties


o Property Color() As
Returns or sets color of extension line.
Example:
This example retrieves color of extension line MyExtLine drawing dimension.
 oColorExtLine = MyExtLine.Color
 
o 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
 
o 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
 
o 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


o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 
o 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)
 

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