Role: To access the data of the line feature created between two points.
Use the CATIAHybridShapeFactory to create a HybridShapeLinePtPt object.
- 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 theLinePtPthybrid shape feature.Dim oStart As CATIALength Set oStart = LinePtPt.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 theLinePtPthybrid shape feature.Dim oEnd As CATIALength Set oEnd = LinePtPt.EndOffset
- Property PtExtremity() As
-
Returns or Sets the extremity point of the LinePtPt(Second Point).
Sub-element(s) supported (see object): .- Example:
-
This example retrieves in
oPtExtremitythe ending point for theLinePtPthybrid shape feature.Dim oPtExtremity As Reference Set oPtExtremity = LinePtPt.PtExtremity
- Property PtOrigine() As
-
Returns or Sets the origin point of the LinePtPt(First point).
Sub-element(s) supported (see object): .- Example:
-
This example retrieves in
oPtOriginethe initial point for theLinePtPthybrid shape feature.Dim oPtOrigine As Reference Set oPtOrigine = LinePtPt.PtOrigine
- Property Support() As
-
Returns or Sets the supporting surface.
Note: the support surface is not mandatory for LinePtPt
Sub-element(s) supported (see object): .- Example:
-
This example retrieves in
oSurfacethe supporting surface (if it exist) for theLinePtPthybrid shape feature.Dim oSurface As Reference Set oSurface = LinePtPt.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 RemoveSupport()
- Removes the support surface.
- 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>