All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown | +---IDispatch | +---CATBaseUnknown | +---CATBaseDispatch | +---AnyObject | +---FileSystem
o Property FileSeparator( | ) As CATBSTR (Read Only) |
o Property PathSeparator( | ) As CATBSTR (Read Only) |
o Property TemporaryDirectory( | ) As CATIAFolder (Read Only) |
o Func ConcatenatePaths( | CATBSTR | iPathChunk1, |
CATBSTR | iPathChunk2) As CATBSTR |
o Sub CopyFile( | CATBSTR | iPathSource, |
CATBSTR | iPathDestination, | |
boolean | iOverwrite) |
FileSys.CopyFile("C:\Tests\File1", "C:\Tests\File2", False)
o Sub CopyFolder( | CATBSTR | iSourcePath, |
CATBSTR | iDestinationPath) |
FileSys.CopyFolder("C:\Tests\Fold1", "C:\Tests\Fold2")
o Func CreateFile( | CATBSTR | iPath, |
boolean | iOverwrite) As CATIAFile |
Dim FileObj As File Set FileObj = FileSys.CreateFile("C:\Tests\File1", False)
o Func CreateFolder( | CATBSTR | iPath) As CATIAFolder |
Dim FoldObj As Folder Set FoldObj = FileSys.CreateFolder("C:\Tests\Fold1")
o Sub DeleteFile( | CATBSTR | iPath) |
FileSys.DeleteFile("C:\Tests\File1")
o Sub DeleteFolder( | CATBSTR | iPath) |
FileSys.DeleteFolder("C:\Tests\Fold1")
o Func FileExists( | CATBSTR | iPath) As boolean |
Dim Exists As Boolean Exists = FileSys.FileExists("C:\Tests\File1")
o Func FolderExists( | CATBSTR | iPath) As boolean |
Dim Exists As Boolean Exists=FileSys.FolderExists("C:\Tests\Fold1")
o Func GetFile( | CATBSTR | iPath) As CATIAFile |
Dim FileObj As File Set FileObj = FileSys.GetFile("C:\Tests")
o Func GetFolder( | CATBSTR | iPath) As CATIAFolder |
Dim FoldObj As Folder Set FoldObj = FileSys.GetFolder("C:\Tests\")
Copyright © 2003, Dassault Systèmes. All rights reserved.