pycatia.hybrid_shape_interfaces.hybrid_shape_direction¶
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_direction.HybridShapeDirection(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeDirectionRepresents the hybrid shape direction feature object.Role: To access the data of the hybrid shape direction feature object. Adirection can be specified using:A line: the direction is tangent to the lineA plane: the direction is normal to the planeIts componentsUse the CATIAHybridShapeFactory to create a HybridShapeDirectionobject.See also:HybridShapeFactory- direction_specification() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func DirectionSpecification() As longQueries the direction specification status.Parameters:oDirdirection specification = 0 : Direction is not specified. = 1 :Direction is specified and is valid. = -1 : Direction is specified but is not valid.
- Return type:
int
- get_x()¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetX() As RealParamReturns the direction X component. This method succeeds only when directionis specified using components. It fails when direction is specified using ageometrical element i.e Line, Plane. In such cases use GetXVal methodinstead.Parameters:oCoordinatesThe direction X component
- Return type:
- get_x_val() float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetXVal() As doubleReturns the direction X component as Double. This method succeedsirrespective of the way direction is specified.Parameters:oXThe direction X component
- Return type:
float
- get_y() RealParam ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetY() As RealParamReturns the direction Y component. This method succeeds only when directionis specified using components. It fails when direction is specified using ageometrical element i.e Line, Plane. In such cases use GetYVal methodinstead.Parameters:oCoordinatesThe direction Y component
- Return type:
- get_y_val() float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetYVal() As doubleReturns the direction Y component as Double.This method succeedsirrespective of the way direction is specified.Parameters:oYThe direction Y component
- Return type:
float
- get_z() RealParam ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetZ() As RealParamReturns the direction Z component. This method succeeds only when directionis specified using components. It fails when direction is specified using ageometrical element i.e Line, Plane. In such cases use GetZVal methodinstead.Parameters:oCoordinatesThe direction Z component
- Return type:
- get_z_val() float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetZVal() As doubleReturns the direction Z component as Double.This method succeedsirrespective of the way direction is specified.Parameters:oZThe direction Z component
- Return type:
float
- property object: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Object() As ReferenceReturns or sets the object that specifies the direction.This object can be a line or a plane.Parameters:oObjectThe object (a line or a plane) that specifies thedirectionSub-element(s) supported (seeBoundary object): RectilinearTriDimFeatEdge, RectilinearBiDimFeatEdgeor RectilinearMonoDimFeatEdge.
- Return type:
- property ref_axis_system: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RefAxisSystem() As ReferenceReturns or Sets the reference Axis System for Directionfeature.This data is not mandatory, if element is null, the absolute axis system istaken.When an element is given, X, Y and Z are considered in this Axis system.Example:This example retrieves in oRefAxis the reference Axis System for Directionfeature.Dim oRefAxis As CATIAReferenceSet oRefAxis = Direction.RefAxisSystem
- Return type:
- property type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Type() As long (Read Only)Returns the direction type.Legal value: The direction type can be:0The direction is specified using an object (a line or a plane). In thecase of a plane, the direction is the normal to theplane1The direction is specified using its components
- Return type:
int