pycatia.cat_sch_platform_interfaces.sch_list_of_longs¶
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_longs.SchListOfLongs(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchListOfLongsRepresent a non-persistant list of LONGs to be used with schematicIDLs.- append(i_long: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Append(long iLong)Adds an long integer to the end of the list.Parameters:iLongThe long integer to be added to the list.Example:The following example appends a long integer to thelist.Dim MInteger As LongMInteger = 4Dim MyList As SchListOfLongsMyList.Append(MInteger)
- Parameters:
i_long (int) –
- 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 long integers in the list.Example:This example retrieves in NumberOfLongs the number of long integerscurrently gathered in MyList.NumberOfLongs = MyList.Count
- Return type:
int
- item(i_index: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(long iIndex) As longReturns a long integer from its index in the list.Parameters:iIndexThe index of the first long integer in the collection is 1, and theindex of the last long integer is Count.Returns:the retrieved long integer.Example:The following example returns in the third long integer in thelist.Dim MyLong As IntegerDim MyList As SchListOfLongsSet MyLong = SchListOfLongs.Item(2)
- Parameters:
i_index (int) –
- Return type:
int
- 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 long integer from the list by specifying its position in thelist.Parameters:iIndexThe position of the long integer 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 SchListOfLongsMyList.Remove(1)
- Parameters:
i_index (int) –
- Return type:
None