pycatia.in_interfaces.file_component¶
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.file_component.FileComponent(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFileComponentRepresents the file object.Role: The file object allows to manipulate files with UNIX and Windows. Use itinstead of the one of Visual Basic to make portable macros. Its gives access toinformation about the file and can open a file as a TextStreamobject.- property parent_folder: Folder¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ParentFolder() As FolderReturns or sets the parent folder of the file.Example:This example sets the folder ParentFold as parent of the file TestFile.This moves the file into ParentFold.TestFile.ParentFolder
- Return type:
- property path: str¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Path() As CATBSTR (Read Only)Returns the full path of the file.Example:This example retrieves in FilePath the path of the FileTestFile.Dim FilePath As StringFilePath = TestFile.Path
- Return type:
str