pycatia.arrangement_interfaces.arr_bendable_string¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.arrangement_interfaces.arr_bendable_string.ArrBendableString(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectArrBendableStringThe interface to access a CATIAArrBendableStringUsing this prefered syntax will enable mkdoc to document yourclass.- get_num_of_segments() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetNumOfSegments() As longReturns the cumulative number of the straight/arc segments that make up theBendable object.Example:This example shows how to number of segments ofBendablePipe001.Dim NumOfBendSegmentsNumOfBendSegments = BendablePipe001.GetNumOfSegments
- Return type:
int
- get_num_of_segments_local_axis() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetNumOfSegmentsLocalAxis() As longReturns the cumulative number of the straight/arc segments that make up theBendable object.
- Return type:
int
- get_segment_data(i_index: int, o_segment_data: tuple) float ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetSegmentData(long iIndex,CATSafeArrayVariant oSegmentData)Returns the data of the segment (Point Indices, Slope angle, RotationAngle).Example:This example shows how to retrieve segment #2 ofBendablePipe001.Dim SegmentData(14) As doubleBendablePipe001.GetSegmentData(2, SegmentData)where the data is returned in the Array in the followingformat…SegmentData(0) = Starting Point of Segment (X Coord)SegmentData(1) = Starting Point of Segment (Y Coord)SegmentData(2) = Starting Point of Segment (Z Coord)SegmentData(3) = End Point of Segment (X Coord)SegmentData(4) = End Point of Segment (Y Coord)SegmentData(5) = End Point of Segment (Z Coord)SegmentData(6) = Bend Point of Segment (X Coord) ‘//Valid only if SegmentData(9) > 0SegmentData(7) = Bend Point of Segment (Y Coord) ‘//Valid only if SegmentData(9) > 0SegmentData(8) = Bend Point of Segment (Z Coord) ‘//Valid only if SegmentData(9) > 0SegmentData(9) = Bend Radius at Bend Point ‘//Valid only if SegmentData(9) > 0SegmentData(10) = Bend Angle at Bend Point ‘//Valid only if SegmentData(9) > 0SegmentData(11) = Rotation Angle of SegmentSegmentData(12) = Slope Angle of SegmentSegmentData(13) = Length of linear SegmentSegmentData(14) = Length of Arc Segment ‘//Valid only if SegmentData(9) > 0
- Parameters:
i_index (int) –
o_segment_data (tuple) –
- Return type:
float
- instance_name() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func InstanceName() As CATBSTRReturns the Bendable’s Instance Name.Example:This example shows how to retrieve the Bendable Instance Name ofBendablePipe001.Dim _BendInstanceName_BendInstanceName = BendablePipe001.InstanceName
- Return type:
str