HybridShapeAssemble (Object)

Represents the hybrid shape assemble feature object.
Role: To access the data of the hybrid shape assemble feature object. This data includes:

Use the CATIAHybridShapeFactory to create a HybridShapeAssemble object.

See also:

Properties


Property Invert() As
Returns or sets the invert mode.
Legal values: True the result is inverted. False the result is not inverted.
Example:
 This example sets the invert mode of
 the HybShpAssemble hybrid shape assemble feature to True.
 
 HybShpAssemble.Invert = True
 

Methods


Sub AddElement( iElement)
Adds an element to the hybrid shape assemble feature object.
Parameters:
iElement
The element to add to the hybrid shape assemble feature object.
Sub-element(s) supported (see object): , and .
Examples:
The following example adds the iElement feature object to the HybridShapeAssemble object.
 HybridShapeAssemble.AddElement iElement
 
Sub AddSubElement( iSubElement)
Adds a sub element to the hybrid shape assemble feature object.
Parameters:
iSubElement
The sub element to remove to the hybrid shape assemble feature object.
Sub AppendFederatedElement( iElement)
Appends an init to the list of elements to federate.
Parameters:
iElement
Element to append.
See also:
Func GetAngularTolerance() As
Get the anglular tolerance.
Parameters:
oValue
The anglular tolerance.
Func GetAngularToleranceMode() As
Get the anglular tolerance mode.
Parameters:
oValue
The anglular tolerance mode.
Func GetConnex() As
Get the connex checker flag.
Parameters:
oConnex
Func GetDeviation() As
Get the deviation value.
Parameters:
odeviation
The deviation.
Func GetElement( iRank) As
Retrieves an element used by the hybrid shape assemble feature object.
Parameters:
iRank
The rank of the element to read.
Examples:
The following example gets the oElement feature object of the HybridShapeAssemble object at the position iRank.
 Dim oElement As Reference
 Set oElement = HybridShapeAssemble.GetElement (iRank).
 
Func GetElementsSize() As
Returns the size of the list of elements to assemble in the hybrid shape assemble feature object.
Parameters:
oSize
Number of elements in the Assemble.
Example:
This example retrieves the number of elements in the HybShpAssemble hybrid shape assemble.
 Dim oSize As  long
 oSize = HybShpAssemble.GetElementsSize
 
Func GetFederatedElement( iRank) As
Retrieves an federated inits used by the hybrid shape assemble feature object.
Parameters:
iRank
The rank of the element to read.
oElement
The federated element.
See also:
Func GetFederatedElementsSize() As
Gets the number of federated inits.
Parameters:
Size
Number of elements.
Func GetFederationPropagation() As
Gets the propagation mode of the federation.
Parameters:
i
type of propagation (0: No, 1: All, 2: Continuity, 3:Tangency).
Func GetHealingMode() As
Gets the healing mode for merged cells.
Parameters:
oHeal
True = merged cells are healed, False = merged cells are not healed.
Func GetManifold() As
Get the manifold checker flag.
Parameters:
oManifold
Func GetSimplify() As
Get the simplify flag.
Parameters:
oSimplify
Func GetSubElement( iRank) As
Retrieves a sub element used by the hybrid shape assemble feature object.
Parameters:
iRank
The rank of the subelement to read.
Func GetSubElementsSize() As
Returns the size of the list of sub-elements to remove in the hybrid shape assemble feature object.
Parameters:
oSize
Number of sub elements in the Assemble.
Example:
This example retrieves the number of sub elements in the HybShpAssemble hybrid shape assemble.
 Dim oSize As  long
 oSize = HybShpAssemble.GetSubElementsSize
 
Func GetSuppressMode() As
Get the SuppressMode flag.
Parameters:
oSuppressMode
Func GetTangencyContinuity() As
Get the tangency continuity checker flag.
Parameters:
oTangencyContinuity
Sub RemoveElement( iRank)
Removes an element used by the hybrid shape assemble feature object.
Parameters:
iRank
The rank of the element to remove.
Examples:
The following example removes the feature object from the HybridShapeAssemble object at the position iRank.
 HybridShapeAssemble.RemoveElement iRank.
 
Sub RemoveFederatedElement( iRank)
Removes an element to the list of elements to federate.
Parameters:
iRank
Position of the element to remove.
Sub RemoveSubElement( iRank)
Removes a sub element used by the hybrid shape assemble feature object.
Parameters:
iRank
The rank of the element to remove.
Sub ReplaceElement( iPos, iElement)
Replaces the element at specified position in the hybrid shape assemble feature object.
Parameters:
iPos
Position at which the element should be replaced.
iElement
Reference of the element to be inserted.
Example:
This example replaces the element in the HybShpAssemble assemble feature at specified position iPos
 HybShpAssemble.ReplaceElement iPos,iElement 
 
Sub SetAngularTolerance( iValue)
Set the anglular tolerance.
Parameters:
iValue
The anglular tolerance.
Sub SetAngularToleranceMode( iValue)
Set the anglular tolerance mode.
Parameters:
iValue
The anglular tolerance mode.
Sub SetConnex( iConnex)
Set the connex checker flag.
Parameters:
iConnex
Sub SetDeviation( ideviation)
Set the deviation value.
Parameters:
ideviation
The deviation.
Sub SetFederationPropagation( iMode)
Sets the propagation mode of federation.
Parameters:
i
type of propagation (0: No, 1: All, 2: Continuity, 3:Tangency).
Sub SetHealingMode( iHeal)
Sets the healing mode for merged cells.
Parameters:
iHeal
True = merged cells are healed, False = merged cells are not healed.
Sub SetManifold( iManifold)
Set the manifold checker flag.
Parameters:
iManifold
Sub SetSimplify( iSimplify)
Set the simplify flag.
Parameters:
iSimplify
Sub SetSuppressMode( iSuppressMode)
Set the SuppressMode flag.
Parameters:
iSuppressMode
Sub SetTangencyContinuity( iTangencyContinuity)
Set the tangency continuity checker flag.
Parameters:
iTangencyContinuity