Indexes   

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:
HybridShapeFactory

Property Index

Invert
Returns or sets the invert mode.

Method Index

AddElement
Adds an element to the hybrid shape assemble feature object.
AddSubElement
Adds a sub element to the hybrid shape assemble feature object.
AppendFederatedElement
Appends an init to the list of elements to federate.
GetAngularToleranceMode
Get the anglular tolerance mode.
GetAngularTolerance
Get the anglular tolerance.
GetConnex
Get the connex checker flag.
GetDeviation
Get the deviation value.
GetElement
Retrieves an element used by the hybrid shape assemble feature object.
GetElementsSize
Returns the size of the list of elements to assemble in the hybrid shape assemble feature object.
GetFederatedElement
Retrieves an federated inits used by the hybrid shape assemble feature object.
GetFederatedElementsSize
Gets the number of federated inits.
GetFederationPropagation
Gets the propagation mode of the federation.
GetManifold
Get the manifold checker flag.
GetSimplify
Get the simplify flag.
GetSubElement
Retrieves a sub element used by the hybrid shape assemble feature object.
GetSubElementsSize
Returns the size of the list of sub-elements to remove in the hybrid shape assemble feature object.
GetSuppressMode
Get the SuppressMode flag.
GetTangencyContinuity
Get the tangency continuity checker flag.
RemoveElement
Removes an element used by the hybrid shape assemble feature object.
RemoveFederatedElement
Removes an element to the list of elements to federate.
RemoveSubElement
Removes a sub element used by the hybrid shape assemble feature object.
ReplaceElement
Replaces the element at specified position in the hybrid shape assemble feature object.
SetAngularToleranceMode
Set the anglular tolerance mode.
SetAngularTolerance
Set the anglular tolerance.
SetConnex
Set the connex checker flag.
SetDeviation
Set the deviation value.
SetFederationPropagation
Sets the propagation mode of federation.
SetManifold
Set the manifold checker flag.
SetSimplify
Set the simplify flag.
SetSuppressMode
Set the SuppressMode flag.
SetTangencyContinuity
Set the tangency continuity checker flag.

Properties


o 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


o 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
Boundary object): Face, TriDimFeatEdge and BiDimFeatEdge.
Examples:
The following example adds the iElement feature object to the HybridShapeAssemble object.
 HybridShapeAssemble.AddElement iElement
 
o 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.
o Sub AppendFederatedElement( iElement)
Appends an init to the list of elements to federate.
Parameters:
iElement
Element to append.
See also:
Reference
o Func GetAngularToleranceMode() As
Get the anglular tolerance mode.
Parameters:
oValue
The anglular tolerance mode.
o Func GetAngularTolerance() As
Get the anglular tolerance.
Parameters:
oValue
The anglular tolerance.
o Func GetConnex() As
Get the connex checker flag.
Parameters:
oConnex
o Func GetDeviation() As
Get the deviation value.
Parameters:
odeviation
The deviation.
o 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).
 
o 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
 
o 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:
Reference
o Func GetFederatedElementsSize() As
Gets the number of federated inits.
Parameters:
Size
Number of elements.
o Func GetFederationPropagation() As
Gets the propagation mode of the federation.
Parameters:
i
type of propagation (0: No, 1: All, 2: Continuity, 3:Tangency).
o Func GetManifold() As
Get the manifold checker flag.
Parameters:
oManifold
o Func GetSimplify() As
Get the simplify flag.
Parameters:
oSimplify
o 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.
o 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
 
o Func GetSuppressMode() As
Get the SuppressMode flag.
Parameters:
oSuppressMode
o Func GetTangencyContinuity() As
Get the tangency continuity checker flag.
Parameters:
oTangencyContinuity
o 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.
 
o Sub RemoveFederatedElement( iRank)
Removes an element to the list of elements to federate.
Parameters:
iRank
Position of the element to remove.
o Sub RemoveSubElement( iRank)
Removes a sub element used by the hybrid shape assemble feature object.
Parameters:
iRank
The rank of the element to remove.
o 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 
 
o Sub SetAngularToleranceMode( iValue)
Set the anglular tolerance mode.
Parameters:
iValue
The anglular tolerance mode.
o Sub SetAngularTolerance( iValue)
Set the anglular tolerance.
Parameters:
iValue
The anglular tolerance.
o Sub SetConnex( iConnex)
Set the connex checker flag.
Parameters:
iConnex
o Sub SetDeviation( ideviation)
Set the deviation value.
Parameters:
ideviation
The deviation.
o Sub SetFederationPropagation( iMode)
Sets the propagation mode of federation.
Parameters:
i
type of propagation (0: No, 1: All, 2: Continuity, 3:Tangency).
o Sub SetManifold( iManifold)
Set the manifold checker flag.
Parameters:
iManifold
o Sub SetSimplify( iSimplify)
Set the simplify flag.
Parameters:
iSimplify
o Sub SetSuppressMode( iSuppressMode)
Set the SuppressMode flag.
Parameters:
iSuppressMode
o Sub SetTangencyContinuity( iTangencyContinuity)
Set the tangency continuity checker flag.
Parameters:
iTangencyContinuity

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