This class provides services to describe a analysis entity. It represents some preprocessing activities.
It agregates descriptive sub-entities named Basic Components, and Analysis Supports.
The basic component represent the physical data and the support the localisation.
Properties
- Property AnalysisImages() As (Read Only)
-
Returns the analysis images collection associated with an analysis entity.
- Example:
- This example retrieves analysisimages collection .
Dim MyEntity As AnalysisEntity Dim analysisimages As AnalysisImages Set analysisimages = MyEntity.AnalysisImages
- Property AnalysisLocalEntities() As (Read Only)
-
Returns the analysis local entity collection associated with an analysis entity.
- Example:
- This example retrieves analysislocalEntity collection .
Dim MyEntity As AnalysisEntity Dim analysislocalEntity As AnalysisLocalEntities Set analysislocalEntity = MyEntity.AnalysisLocalEntities
- Property AnalysisSupports() As (Read Only)
- Returns the list of Analysis Supports. The support defines the area on which the analysis is applied on.
- Property BasicComponents() As (Read Only)
-
Returns the basic components collection associated with an analysis entity.
- Example:
- This example retrieves basiccomponents collection .
Dim MyEntity As AnalysisEntity Dim basiccomponents As BasicComponents Set basiccomponents = MyEntity.BasicComponents
- Property Type() As (Read Only)
-
Returns the type of the analysis entity.
- Example:
- The following example returns TypeofEntity of MyEntity.
Dim MyEntity As AnalysisEntity Dim TypeofEntity As CATBSTR Set TypeofEntity = MyEntity.Type
Methods
- Sub AddSupportFromConstraint( iConstraintProduct, iConstraint)
-
Creates a new support and add it to the description of the Analysis Entity.
- Parameters:
-
- iConstraintProduct
- the CATIA Product of the Constraint.
dd> - iConstraint
- the CATIA Constraint that represent the object to linked.
dd>
- See also:
- ,
- Sub AddSupportFromPart( iPartProduct, iPart)
-
Creates a new support and add it to the description of the Analysis Entity.
- Parameters:
-
- iPartProduct
- the CATIA Product of the part.
dd> - iPart
- the CATIA Part that represent the object to linked.
dd>
- See also:
- ,
- Sub AddSupportFromProduct( iProduct, iSupport)
-
Creates a new support and add it to the description of the Analysis Entity.
- Parameters:
-
- iProduct
- the CATIA Product that represent the object to linked.
dd> - iSupport
- the CATIA Reference that represent the object to linked.
dd>
- See also:
- ,
- Sub AddSupportFromPublication( iProduct, iPublication)
-
Creates a new support and add it to the description of the Analysis Entity.
- Parameters:
-
- iProduct
- the CATIA Product that represent the object to linked.
dd> - iPublication
- the CATIA Publication that represent the object to linked.
dd>
- See also:
- ,
- Sub AddSupportFromReference( iReference, iSupport)
-
Creates a new support and add it to the description of the Analysis Entity.
- Parameters:
-
- iReference
- the CATIA Reference that represent the object to linked. This identification, may locate the instance of the object
dd> - iSupport
- the CATIA Reference that represent the object to linked.
dd>
- See also:
- Func GetReference( iComponent, iLabel, iLineIndex, iColumnIndex, iLayerIndex) As
-
Returns the reference corresponding to the given component.
- Parameters:
-
- iComponent
- The identifier if the basic component.
dd> - iLabel
- The label of the block containing the value.
dd> - iLineIndex
- The line index of the value.
dd> - iColumnIndex
- The column index of the value.
dd> - iLayerIndex
- The layer index of the value.
dd>
- Func GetValue( iComponent, iLabel, iLineIndex, iColumnIndex, iLayerIndex) As
-
Returns the value corresponding to the given component.
- Parameters:
-
- iComponent
- The identifier if the basic component.
dd> - iLabel
- The label of the block containing the value.
dd> - iLineIndex
- The line index of the value.
dd> - iColumnIndex
- The column index of the value.
dd> - iLayerIndex
- The layer index of the value.
dd>
- Sub SetReference( iComponent, iLabel, iLineIndex, iColumnIndex, iLayerIndex, iValue)
-
Sets the reference corresponding to the given component.
- Parameters:
-
- iComponent
- The identifier if the basic component.
dd> - iLabel
- The label of the block containing the value.
dd> - iLineIndex
- The line index of the value.
dd> - iColumnIndex
- The column index of the value.
dd> - iLayerIndex
- The layer index of the value.
If the the component has a single value, assign 0 to the 3 parameters. dd>
- Sub SetValue( iComponent, iLabel, iLineIndex, iColumnIndex, iLayerIndex, iValue)
-
Sets the value corresponding to the given component.
- Parameters:
-
- iComponent
- The identifier if the basic component.
dd> - iLabel
- The label of the block containing the value.
dd> - iLineIndex
- The line index of the value.
dd> - iColumnIndex
- The column index of the value.
dd> - iLayerIndex
- The layer index of the value.
If the the component has a single value, assign 0 to the 3 parameters. This example create ThisAnalysisEntity in the analysisEntities collection
The entity to create is supposed to be a pressure defined in a load set. We
will valuate the basic component that contain the pressure data "SAMPressureMag".Dim analysisEntities As CATIAAnalysisEntities Dim ThisAnalysisEntity As AnalysisEntity Set ThisAnalysisEntity = analysisEntities.Add("SAMPressure") ThisAnalysisEntity.SetValue("SAMPressureMag"," ",0,0,0,100)dd>