pycatia.cat_sch_platform_interfaces.sch_list_of_doubles¶
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.cat_sch_platform_interfaces.sch_list_of_doubles.SchListOfDoubles(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchListOfDoublesRepresents a list of DOUBLEs to be used with Schematic IDLs.- append(i_double: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Append(double iDouble)Adds a double to the end of the list.Parameters:iDoubleThe double to be added to the list.Example:The following example appends an object to the list.Dim MyDouble As DoubleMyDouble = 0.6789Dim MyList As SchListOfDoublesMyList.Append(MyDouble)
- Parameters:
i_double (float) –
- Return type:
None
- property count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Count() As long (Read Only)Returns the number of doubles in the list.Example:This example retrieves in NumberOfdoubles the number of doublescurrently gathered in MyList.NumberOfdoubles = MyList.Count
- Return type:
int
- item(i_index: int) float ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(long iIndex) As doubleReturns a double from its index in the list.Parameters:iIndexThe index of the first double in the collection is 1, and the indexof the last double is Count.Returns:the retrieved double.Example:The following example returns in the third double in thelist.Dim MyDouble As doubleDim MyList As SchListOfDoublesSet MyDouble = SchListOfDoubles.Item(2)
- Parameters:
i_index (int) –
- Return type:
float
- remove_by_index(i_index: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveByIndex(long iIndex)Remove a double from the list by specifying its position in thelist.Parameters:iIndexThe position of the double to be removed in the list.Example:The following example removes the second entry in the list. Pleasenote that thelist index starts with 1.Dim MyList As SchListOfDoublesMyList.Remove(1)
- Parameters:
i_index (int) –
- Return type:
None