All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---Collection
|
+---Products
| o Func AddComponent( | CATIAProduct | iReferenceProduct) As CATIAProduct |
Dim SpareWheel As Product Set SpareWheel = ToolKits.AddComponent(FrontRightWheel)
| o Sub AddComponentsFromFiles( | CATSafeArrayVariant | iFilesList, |
| CATBSTR | iMethod) |
| o Func AddExternalComponent( | CATIADocument | iProductDocument) As CATIAProduct |
Dim GearBox As Product Set GearBox = PowerTrains.AddExternalComponent(GearBoxDocument)
| o Func AddNewComponent( | CATBSTR | iDocumenType, |
| CATBSTR | iPartNumber) As CATIAProduct |
Dim GearBox As Product Set GearBox = PowerTrains.AddNewComponent(GearBoxDocument, "A120-253X-7")
| o Func AddNewProduct( | CATBSTR | iPartNumber) As CATIAProduct |
Dim Engine As Product Set Engine = PowerTrains.AddNewProduct(V6Engine)
| o Func Item( | CATVariant | iIndex) As CATIAProduct |
Dim ThisProduct As Product
Set ThisProduct = CarParts.Item(3)
Dim ThatProduct As Product
Set ThatProduct = CarParts.Item("Wheel")
| o Sub Remove( | CATVariant | iIndex) |
Brakes.Remove(6)
Brakes.Remove("LeftRearDisc")
| o Func ReplaceComponent( | CATIAProduct | iOldComponent, |
| CATBSTR | iFilePath, | |
| boolean | iMultiInstances) As CATIAProduct |
| o Func ReplaceProduct( | CATIAProduct | iOldComponent, |
| CATIAProduct | iNewReference, | |
| boolean | iMultiInstances) As CATIAProduct |
Copyright © 2003, Dassault Systèmes. All rights reserved.