pycatia.cat_sch_platform_interfaces.sch_list_of_bst_rs¶
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_bst_rs.SchListOfBSTRs(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchListOfBSTRsRepresents a non-persistant list of character strings to be used with SchematicIDLs.- append(i_bstr: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Append(CATBSTR iBSTR)Adds a character string to the end of the list.Parameters:iBSTRThe character string to be added to the list.Example:The following example appends a string to the list.Dim MyList As SchListOfBSTRsMyList.Append(“MyString”)
- Parameters:
i_bstr (str) –
- 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 character strings in the list.Example:This example retrieves in NumberOfStrings the number of characterstrings currently gathered in MyList.NumberOfStrings = MyList.Count
- Return type:
int
- item(i_index: int) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(long iIndex) As CATBSTRReturns a character string from its index in the list.Parameters:iIndexThe index of the first character string in the collection is 1, andthe index of the last character string is Count.Returns:the retrieved string.Example:The following example returns in the third character string in thelist.Dim MyStr As StringDim MyList As SchListOfBSTRsSet MyStr = SchListOfBSTRs.Item(2)
- Parameters:
i_index (int) –
- Return type:
str
- 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 character string from the list by specifying its position in thelist.Parameters:iIndexThe position of the character string 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 SchListOfBSTRsMyList.Remove(1)
- Parameters:
i_index (int) –
- Return type:
None