pycatia.hybrid_shape_interfaces.hybrid_shape_reflect_line

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.hybrid_shape_interfaces.hybrid_shape_reflect_line.HybridShapeReflectLine(com_object)

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.HybridShape
HybridShapeReflectLine

Represents the hybrid shape reflect line feature object.
Role: To access the data of the hybrid shape reflect line feature object. This
data includes:

The surface used to create the reflect line
The direction (cylindrical)
The origin (conical)
The angle value

Use the CATIAHybridShapeFactory to create a HybridShapeReflectLine
object.

See also:
HybridShapeFactory
property angle: Angle

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Angle() As Angle

Returns or sets the angle used to create the reflectline.

Example:
This example retrieves in Ang the angle for the RelectLine hybrid shape
feature.

Dim Ang As CATIAAngle
Set Ang = ReflectLine.Angle
Return type:

Angle

property direction: HybridShapeDirection

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Direction() As HybridShapeDirection

Returns or sets the direction used to create the cylindrical
reflectline.

Example:
This example retrieves in Dir the direction for the cylindrical
RelectLine hybrid shape feature.

Dim Dir As CATIAHybridShapeDirection
Set Dir = ReflectLine.Direction
Return type:

HybridShapeDirection

invert_orientation_direction() None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub InvertOrientationDirection()

Inverts the orientation of direction. This example inverts the direction
orientation of hybRefLine hybrid shape reflect line
object.

hybRefLine.InvertOrientationDirection
Return type:

None

invert_orientation_support() None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub InvertOrientationSupport()

Inverts the orientation of support. This example inverts the support
orientation of hybRefLine hybrid shape reflect line
object.

hybRefLine.InvertOrientationSupport
Return type:

None

property orientation_direction: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property OrientationDirection() As long

Returns or sets the direction orientation used to compute the reflect
line.
Role: The orientation is used to define the angle between the direction and
the normal to the support of the points on the result curve. The orientation is
the same than or the inverse of the result of the cross product:
Normal(support) ^ Tangent(FirstReferenceCurve).
Legal values: 1 for same orientation, and -1 for inverse
Return type:

int

property orientation_support: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property OrientationSupport() As long

Returns or sets the support orientation used to compute the reflect
line.
Role: The orientation is used to define the angle between the direction and
the normal to the support of the points on the result curve. The orientation is
the same than or the inverse of the result of the cross product:
Normal(support) ^ Tangent(FirstReferenceCurve).
Legal values: 1 for same orientation, and -1 for inverse
Return type:

int

property origin: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Origin() As Reference

Returns or sets the origin point used to create the conical
reflectline.
Sub-element(s) supported (see Boundary object): Vertex.

Example:
This example retrieves in Point the origin point for the conical
ReflectLine hybrid shape feature.

Dim Point As Reference
Set Point = ReflectLine.Origin
Return type:

Reference

property source_type: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property SourceType() As long

Returns or sets whether the reflectline curve is or should be created with
infinite light source (cylindrical) or with finite point light source
(conical).
Role: The SourceType indicates whether the created reflectline curve is
compute with infinite light source for cylindrical type or with finite point
light source for conical type.
Legal values: 0 for cylindrical and 1 for conical.
Return type:

int

property support: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Support() As Reference

Returns or sets the support surface used to create the
reflectline.
Sub-element(s) supported (see Boundary object): Face.

Example:
This example retrieves in Surface the support surface for the
RelectLine hybrid shape feature.

Dim Surface As Reference
Set Surface = ReflectLine.Support
Return type:

Reference

property type_solution: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property TypeSolution() As long

Returns or sets whether the reflectline curve is or should be created with
the normal to the support or the tangent plane to the
support.
Role: The TypeSolution indicates whether the created reflectline curve is
compute with the angle between the normale to the support and the direction or
with the angle between the tangent plane to the support and the
direction.
Legal values: 0 for the normal and 1 for the tangent plane.
Return type:

int