All Frameworks  Object Hierarchy  This Framework  Indexes   

PartComps (Collection)

Interface to access a CATIAPartComps

Property Index

AddedMaterialPercentage
Returns the added material percentage.
AddedMaterialVolume
Returns the added material volume.
RemovedMaterialPercentage
Returns the removed material percentage.
RemovedMaterialVolume
Returns the removed material volume.

Method Index

Add
Computes a new comparison between products.

Properties


o Property AddedMaterialPercentage() As (Read Only)
Returns the added material percentage.
o Property AddedMaterialVolume() As (Read Only)
Returns the added material volume.
o Property RemovedMaterialPercentage() As (Read Only)
Returns the removed material percentage.
o Property RemovedMaterialVolume() As (Read Only)
Returns the removed material volume.

Methods


o Func Add( iProduct1,
iProduct2,
iCompAccuracy,
iDispAccuracy,
iComputationType) As
Computes a new comparison between products. Documents created are added to the documents in the session. Document containing the added material is called AddedMaterial.3dmap. Document containing the removed material is called RemovedMaterial.3dmap. Document containing the changed material is called ChangedMaterial.3dmap. If the document are meant to be kept they must be renamed, otherwise they should be deleted. Document lifecyle must be managed either with SaveAs or Close.
Parameters:
iCompAccuracy
Accuracy of the 3dmaps for the computation.
iDispAccuracy
Accuracy of the displayed 3dmaps.
iComputationType
0 : Added with position taken into account
1 : Removed with position
2 : Added + Removed with positions
3 : Added without position
4 : Removed without position
5 : Added + Removed without positions
Returns:
Created PartComp
Example:
The following example computes a comparison between two products:
 Dim newPartComp As PartComp
 Set newPartComp = PartComps.Add(product1, product2, 5.0, 5.0, 2)
 Dim documents1 As Documents
 Set documents1 = CATIA.Documents
 Dim document1 As Document
 Set document1 = documents1.Item("AddedMaterial.3dmap")
 

Copyright © 2003, Dassault Systèmes. All rights reserved.