BasicComponent (Object)

Interface designed to manage Analysis Basic Components.

A Basic Component is the low level of physical descriptive data. It is a "brick" dedicated to build the Analysis Entity or an Analysis Set .

A Basic Components can contain several Blocks. A Block is identified by a label. It contains entity data of the same type, organized in superimposed tables.

To create Analysis Entities with a complex structure, we have also created a particular Basic Component dedicated to encapsulate other Basic Components.


Properties


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 collection of Basic Components agregated by the basic component. It can be (scalar value, vector, tensor,...). Depending on the type of the Basic component, the collection can be empty.
Example:
 This example retrieves Basic components collection 
 Dim MyBasicComp As BasicComponent
 Dim myBasicComponents As BasicComponents
 Set myBasicComponents = MyBasicComp.BasicComponents
Property Entities() As (Read Only)
Returns the collection of Entities agregated by the basic component. Depending on the type of the Basic component,the collection can be empty.
Example:
 This example retrieves Basic components collection 
 Dim MyBasicComp As BasicComponent
 Dim myEntities AnalysisEntities
 Set myEntities = MyBasicComp.AnalysisEntities
Property Type() As (Read Only)
Returns the type of the Basic Component.
Returns:
The string that represent the Basic Component type.

Methods


Sub AddSupportFromProduct( iProduct, iSupport)
Creates a new support and add it to the description of the basic component.
Parameters:
iProduct
the CATIA Product that represent the object to linked.
iSupport
the CATIA Reference that represent the object to linked.
See also:
,
Sub AddSupportFromPublication( iProduct, iPublication)
Creates a new support and add it to the description of the Basic Component.
Parameters:
iProduct
the CATIA Product that represent the object to linked.
iPublication
the CATIA Publication that represent the object to linked.
See also:
,
Sub AddSupportFromReference( iReference, iSupport)
Creates a new support and add it to the description of the basic component.
Parameters:
iReference
the CATIA Reference that represent the object to linked.
iSupport
the CATIA Reference that represent the object to linked.
See also:
,
Func GetColumnsNumber( iLabel) As
Return one of the dimensions information of the Basic Component structure.
Parameters:
oColumnsNumber
= Number of Columns.
Func GetLayersNumber( iLabel) As
Return one of the dimensions information of the Basic Component structure.
Parameters:
oLayersNumber
= Number of Layers.
Func GetLinesNumber( iLabel) As
Return one of the dimensions information of the Basic Component structure.
Parameters:
oLinesNumber
= Number of lines.
Func GetValue( iLabel, iLineIndex, iColumnIndex, iLayerIndex) As
Return the value corresponding to the given coordinates.
Parameters:
iLabel
= Label of the block containing the value.
iLineIndex
= line index of the value.
iColumnIndex
= column index of the value.
iLayerIndex
= layer index of the value.
If the the component has a single value, set these 3 parameters to 0.
Sub SetDimensions( iLineCount, iColumnCount, iLayerCount)
Sets the dimensions of the basic component.
Parameters:
iLineCount
Number of lines.
iColumnCount
Number of columns.
iLayerCount
Number of layers.
Sub SetReference( iLabel, iLineIndex, iColumnIndex, iLayerIndex, iValue)
Sets the reference corresponding to the given component.
Parameters:
iLabel
The label of the block containing the value.
iLineIndex
The line index of the value.
iColumnIndex
The column index of the value.
iLayerIndex
The layer index of the value.
If the the component has a single value, assign 0 to the 3 parameters.
Sub SetValue( iLabel, iLineIndex, iColumnIndex, iLayerIndex, iValue)
Set the value corresponding to the given coordinates.
Parameters:
iLabel
= Label of the block containing the value.
iLineIndex
= line index of the value.
iColumnIndex
= column index of the value.
iLayerIndex
= layer index of the value.
If the the component has a single value, set these 3 parameters to 0.