pycatia.in_interfaces.files¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.in_interfaces.files.Files(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFilesA collection of all the file objects in a folder.It lists all the files contained in the folder. It allows to retrieve Fileobjects.- item(i_number: int) File ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(long iNumber) As FileReturns a file using its index or its name from the filecollection.Parameters:iIndexThe index or the name of the file to retrieve from the collectionof files. As a numerics, this index is the rank of the file in the collection.The index of the first file in the collection is 1, and the index of the lastfile is Count. As a string, it is the name you assigned to the file using theAnyObject.Name property.Returns:The retrieved fileExample:This example retrieves in ThisFile the third file, and it ThatFile thefile named MyFile. in the TestFiles file collection.Dim ThisFile As FileSet ThisFile = TestFiles.Item(3)Dim ThatFile As FileSet ThatFile = TestFiles.Item(“MyFile”)
- Parameters:
i_number (int) –
- Return type: