All Frameworks Object Hierarchy This Framework Indexes Previous Next
o Func AddComponent( | Product | iReferenceProduct) As Product |
Dim SpareWheel As Product Set SpareWheel = ToolKits.AddComponent(FrontRightWheel)
o Sub AddComponentsFromFiles( | CATSafeArrayVariant | iFilesList, |
CATBSTR | iMethod) |
o Func AddExternalComponent( | Document | iProductDocument) As Product |
Dim GearBox As Product Set GearBox = PowerTrains.AddExternalComponent(GearBoxDocument)
o Func AddNewComponent( | CATBSTR | iDocumenType, |
CATBSTR | iPartNumber) As Product |
Dim GearBox As Product Set GearBox = PowerTrains.AddNewComponent(GearBoxDocument, "A120-253X-7")
o Func AddNewProduct( | CATBSTR | iPartNumber) As Product |
Dim Engine As Product Set Engine = PowerTrains.AddNewProduct(V6Engine)
o Func Item( | CATVariant | iIndex) As Product |
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( | Product | iOldComponent, |
CATBSTR | iFilePath, | |
boolean | iMultiInstances) As Product |
o Func ReplaceProduct( | Product | iOldComponent, |
Product | iNewReference, | |
boolean | iMultiInstances) As Product |
Copyright © 2003, Dassault Systèmes. All rights reserved.