pycatia.hybrid_shape_interfaces.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.line.Line(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeLineRepresents the hybrid shape Line feature object.Role: Declare hybrid shape Line root feature object. All interfaces fordifferent type of Line derives HybridShapeLine.Use the CATIAHybridShapeFactory to create a HybridShapeLineobjects.See also:HybridShapeFactory- property first_upto_elem: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstUptoElem() As ReferenceRole: Gets the First upto element of the line.Parameters:oFirstUptoReturns:HRESULT S_OK if Ok E_FAIL else
- Return type:
- get_direction() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetDirection(CATSafeArrayVariant oDirection)Role: Returns the unit-vector pointing in the direction of theline.Parameters:oDirectionoDirection[0]The X Coordinate of the unit vector pointing in the direction ofthe lineoDirection[1]The Y Coordinate of the unit vector pointing in the direction ofthe lineoDirection[2]The Z Coordinate of the unit vector pointing in the direction ofthe lineReturns:HRESULT S_OK if Ok E_FAIL else return error code for C++ImplementationsSee also:HybridShapeFactory
- Return type:
None
- get_origin(o_origin: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetOrigin(CATSafeArrayVariant oOrigin)Role: Returns the origin of the line.Parameters:oOriginoOrigin[0]The X Coordinate of a point lying on the lineoOrigin[1]The Y Coordinate of a point lying on the lineoOrigin[2]The Z Coordinate of a point lying on the line The Origin isevaluated from the geometry of the line.Returns:HRESULT S_OK if Ok E_FAIL else return error code for C++ImplementationsSee also:HybridShapeFactory
- Parameters:
o_origin (tuple) –
- Return type:
None
- put_direction(i_direction: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub PutDirection(CATSafeArrayVariant iDirection)Role: Sets the unit-vector pointing in the direction of theline.Parameters:iDirectioniDirection[0]The X Coordinate of the unit vector pointing in the direction ofthe lineiDirection[1]The Y Coordinate of the unit vector pointing in the direction ofthe lineiDirection[2]The Z Coordinate of the unit vector pointing in the direction ofthe lineReturns:HRESULT S_OK if Ok E_FAIL else return error code for C++ImplementationsSee also:HybridShapeFactory
- Parameters:
i_direction (tuple) –
- Return type:
None