Role: To access data of the line feature created by using the normal direction of a surface
Use the CATIAHybridShapeFactory to create a HybridShapeLineNormal object.
- See also:
- See also:
- See also:
- See also:
Properties
- Property BeginOffset() As (Read Only)
-
Returns the start length of the line.
Start length : extension of the line, beginning at the starting point- Example:
-
This example retrieves in
oStartthe beginning offset length for theLineNormalhybrid shape feature.Dim oStart As CATIALength Set oStart = LineNormal.BeginOffset
- Property EndOffset() As (Read Only)
-
Returns the end length of the line.
End length : extension of the line, beginning at the ending point- Example:
-
This example retrieves in
oEndthe starting length for theLineNormalhybrid shape feature.Dim oEnd As CATIALength Set oEnd = LineNormal.EndOffset
- Property Orientation() As
-
Returns or Sets the line orientation.
Orientation allows to reverse the line direction from the reference point.
For a line of L length, it is the same as creating this line with -L length : Orientation : can be 1 or -1- Example:
-
This example retrieves in
oOrientationthe starting length for theLineNormalhybrid shape feature.Dim oOrientation As long Set oOrientation = LineNormal.Orientation
- Property Point() As
-
Returns or Sets the starting point of the line.
Sub-element(s) supported (see object): .- Example:
-
This example retrieves in
oPointthe starting point for theLineNormalhybrid shape feature.Dim oPoint As Reference Set oPoint = LineNormal.Point
- Property Surface() As
-
Returns or Sets the surface to which the line will be normal.
Sub-element(s) supported (see object): .- Example:
-
This example retrieves in
oSurfacethe surface for theLineNormalhybrid shape feature.Dim oSurface As Reference Set oSurface = LineNormal.Surface
Methods
- Func GetLengthType() As
-
Gets the length type
Default is 0.
- Parameters:
-
- oType
- The length type = 0 : length - the line is limited by its extremities = 1 : infinite - the line is infinite = 2 : infinite start point - the line is infinite on the side of the start point = 3 : infinite end point - the line is infinite on the side of the end point dd>
- Func GetSymmetricalExtension() As
-
Gets whether the symmetrical extension of the line is active.
- Parameters:
-
- oSym
- Symetry flag dd>
- Sub SetLengthType( iType)
-
Sets the length type
Default is 0.
- Parameters:
-
- iType
- The length type = 0 : length - the line is limited by its extremities = 1 : infinite - the line is infinite = 2 : infinite start point - the line is infinite on the side of the start point = 3 : infinite end point - the line is infinite on the side of the end point dd>
- Sub SetSymmetricalExtension( iSym)
-
Sets the symmetrical extension of the line (start = -end).
- Parameters:
-
- iSym
- Symetry flag dd>