Visual Description
If we insert the part
Gear200 into the product
GearBox the specification tree will be as follows:
[Icon1]
GearBox
|
+ [Icon2] Gear200(Gear200.1)
where
[Icon1] is the white page with blue and yellow gears icon, ie the CATIAProduct icon
[Icon3] is the white page with a single yellow gear icon, ie the CATIAPart icon
[Icon2] is the white page with blue and yellow gears and an axis system icon, ie the PartProduct icon
The second line, in the above tree, is an artificial product inserted automatically by CATIA. To this artificial product is linked the Gear200 part.
This means that CATIA wrapped the part Gear200 with the component Gear200 (ie with the same name)
Programmatical description
An object of class ProductDocument is a collection of objects of class Product. So, there is no problem to add to this collection any object of class Product. When we add to this collection an object of class Part, CATIA creates a special object of class PartProduct (the part wrapper) and this is what is added to the collection.
-GEL
Imposible is nothing.