Methods
- Func AddProductSceneFull( iName, iReferenceProducts) As
-
Creates a new FULL scene from a set of products and adds it to the ProductScenes collection.
- Parameters:
-
- iName
- The name of the new scene dd>
- iReferenceProducts
- Products used as root nodes of the new scene dd>
- Returns:
- The created new full scene dd>
- Example:
-
This example creates the SpareWheel new scene from the reference product FrontRightWheel and adds the scene to the ToolKits collection.Dim SpareWheel As ProductScene Set SpareWheel = ToolKits.AddProductSceneFull("SpareWheel", FrontRightWheel)
- Func AddProductScenePartial( iName, iReferenceProducts) As
-
Creates a new DELTA scene from a set of products and adds it to the ProductScenes collection.
- Parameters:
-
- iName
- The name of the new scene dd>
- iReferenceProducts
- Products used as root nodes of the new scene dd>
- Returns:
- The created new delta scene dd>
- Example:
-
This example creates the SpareWheel new scene from the reference product FrontRightWheel and adds the scene to the ToolKits collection.Dim SpareWheel As ProductScene Set SpareWheel = ToolKits.AddProductScenePartial("SpareWheel", FrontRightWheel)
- Func Item( iIndex) As
-
Returns a scene using its index or its name from the ProductScenes collection.
- Parameters:
-
- iIndex
- The index or the name of the ProductScene to retrieve from the collection of ProductScenes. As a numerics, this index is the rank of the ProductScene in the collection. The index of the first ProductScene in the collection is 1, and the index of the last ProductScene is Count. As a string, it is the name you assigned to the ProductScene. dd>
- Returns:
- The retrieved ProductScene. dd>
- Example:
-
This example retrieves in ThisProductScene the ninth ProductScene, and in ThatProductScene the ProductScene named ProductScene3 from the TheProductScenes collection.Dim ThisProductScene As ProductScene Set ThisProductScene = TheProductScenes.Item(9) Dim ThatProductScene As ProductScene Set ThatProductScene = TheProductScenes.Item("ProductScene3")
- Sub Remove( iProductScene)
-
Removes a product-scene from the ProductScenes collection.
- Parameters:
-
- iScene
- The scene to remove. dd>
- Example:
-
This example removes the Engine product-scene from the ToolKits collection.ToolKits.Remove Engine