All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---Collection
|
+---Documents
| o Func Add( | CATBSTR | docType) As CATIADocument |
Dim PartDoc As Document
Set PartDoc = Documents.Add("Part")
| o Func Item( | CATVariant | iIndex) As CATIADocument |
Dim ThisDoc As Document
Set ThisDoc = Documents.Item(5)
Dim ThatDoc As Document
Set ThatDoc = Documents.Item("MyDoc")
| o Func NewFrom( | CATBSTR | iFileName) As CATIADocument |
FileToRead = "e:\users\psr\Parts\ThisIsANicePart.CATPart" Dim Doc As Document Set Doc = Documents.NewFrom(FileToRead)
| o Func Open( | CATBSTR | iFileName) As CATIADocument |
FileToOpen = "e:\users\psr\Parts\ThisIsANicePart.CATPart" Dim Doc As Document Set Doc = Documents.Open(FileToOpen)
| o Func Read( | CATBSTR | iFileName) As CATIADocument |
FileToOpen = "e:\users\psr\Parts\ThisIsANicePart.CATPart" Dim Doc As Document Set Doc = Documents.Read(FileToOpen)
Copyright © 2003, Dassault Systèmes. All rights reserved.