All Frameworks  Object Hierarchy  This Framework  Indexes   

HybridShapeHealing (Object)

Represents the hybrid shape healing feature object.
Role: Allows to access to the body to process for a Healing feature. Use the CATIAHybridShapeFactory to create HybridShapeFeature object.
See also:
HybridShapeFactory.AddNewHealing

Property Index

CanonicFreeMode
Returns or sets the Canonic Free Mode of the healing.
Continuity
Returns or sets the continuity type of the healing.
DistanceObjective
Returns the Distance Objective of the healing.
MergingDistance
Returns the Merging Distance of the healing.
NoOfBodiesToHeal
Returns the number of bodies to heal of the healing.
NoOfEdgesToKeepSharp
Returns the number of edges to keep sharp of the healing.
NoOfElementsToFreeze
Returns the number of elements to heal of the healing.
SharpnessAngle
Returns the Sharpness Angle of the healing.
TangencyAngle
Returns the Tangency Angle of the healing.
TangencyObjective
Returns the Tangency Objective of the healing.

Method Index

AddBodyToHeal
Adds the body to be healed to the list.
AddEdgeToKeepSharp
Adds the edge to be kept sharp while healing, to the list.
AddElementsToFreeze
Adds the body to be freezed while healing, to the list.
GetBodyToHeal
Returns the body to be healed from the list at specified position.
GetEdgeToKeepSharp
Returns the edge to be kept sharp from the list at specified position.
GetElementToFreeze
Returns the element to be freezed from the list at specified position.
RemoveBodyToHeal
Removes the body to be healed from the list at specified position.
RemoveEdgeToKeepSharp
Removes the edge from the list of edges to be kept sharp at specified position.
RemoveElementToFreeze
Removes the element from the list of elements to be freezed at specified position.
ReplaceToHealElement
Replaces an element to heal.
SetDistanceObjective
Sets the distance objective for healing entity.
SetMergingDistance
Sets the Merging distance for healing entity.
SetSharpnessAngle
Sets the Sharpness Angle for healing entity.
SetTangencyAngle
Sets the distance objective for healing entity.
SetTangencyObjective
Sets the tangency objective for healing entity.

Properties


o Property CanonicFreeMode( iMode)
Returns or sets the Canonic Free Mode of the healing.
Parameters:
oMode
(For get_CanonicFreeMode) Long parameter for retrieving the CanonicFreeMode.
iMode
(For set_CanonicFreeMode) Long parameter for settingthe CanonicFreeMode.
Example:
This example sets and retrieves the CanonicFreeMode of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealMode As  Long
 HybShpHealMode = ..set appropriate value
 HybShpHealing.CanonicFreeMode = HybShpHealMode
 HybShpHealCont = HybShpHealing.CanonicFreeMode
 
o Property Continuity( iContinuity)
Returns or sets the continuity type of the healing.
Parameters:
Continuity
Parameter for the continuity. Legal values are 0 and 1
Example:
This example sets and retrieves the Continuity of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealCont As  Long
 HybShpHealCont = ..set appropriate value
 HybShpHealing.Continuity = HybShpHealCont
 HybShpHealCont = HybShpHealing.Continuity
 
o Property DistanceObjective() As (Read Only)
Returns the Distance Objective of the healing.
Parameters:
DistanceObjective
Length parameter for retrieving the Distance Objective.
Example:
This example retrieves the DistanceObjective of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealDistObjective As Length
 Set HybShpHealDistObjective = HybShpHealing.DistanceObjective
 
o Property MergingDistance() As (Read Only)
Returns the Merging Distance of the healing.
Parameters:
MergingDistance
Length parameter for retrieving the Merging Distance.
Example:
This example retrieves the MergingDistance of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealMergeDist As Length
 Set HybShpHealMergeDist = HybShpHealing.MergingDistance
 
o Property NoOfBodiesToHeal() As (Read Only)
Returns the number of bodies to heal of the healing.
Parameters:
NumberOfbodies
Number of bodies to heal in the healing.
Example:
This example retrieves the number of bodies to heal of the HybShpHealing hybrid shape Healing.
 Dim NoOfBodiesToHeal As  long
 NoOfBodiesToHeal = HybShpHealing.NoOfBodiesToHeal
 
o Property NoOfEdgesToKeepSharp() As (Read Only)
Returns the number of edges to keep sharp of the healing.
Parameters:
NumberOfEdges
Number of edges to keep sharp.
Example:
This example retrieves the number of edges to keep sharp of the HybShpHealing hybrid shape Healing.
 Dim NoOfEdges As  long
 NoOfEdges = HybShpHealing.NoOfEdgesToKeepSharp
 
o Property NoOfElementsToFreeze() As (Read Only)
Returns the number of elements to heal of the healing.
Parameters:
NumberOfElements
Number of elements to freeze in the healing.
Example:
This example retrieves the number of elements to freeze of the HybShpHealing hybrid shape Healing.
 Dim NoOfElementsToFreeze As  long
 NoOfElementsToFreeze = HybShpHealing.NoOfElementsToFreeze
 
o Property SharpnessAngle() As (Read Only)
Returns the Sharpness Angle of the healing.
Parameters:
SharpnessAngle
Angle parameter for retrieving the Sharpness Angle.
Example:
This example retrieves the Sharpness Angle of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealSharpnessAngle As Angle
 Set HybShpHealSharpnessAngle = HybShpHealing.SharpnessAngle
 
o Property TangencyAngle() As (Read Only)
Returns the Tangency Angle of the healing.
Parameters:
TangencyAngle
Angle parameter for retrieving the TangencyAngle.
Example:
This example retrieves the TangencyAngle of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealTangencyAngle As Angle
 Set HybShpHealTangencyAngle = HybShpHealing.TangencyAngle
 
o Property TangencyObjective() As (Read Only)
Returns the Tangency Objective of the healing.
Parameters:
TangencyObjective
Length parameter for retrieving the Tangency Objective.
Example:
This example retrieves the TangencyObjective of the healing of the HybShpHealing hybrid shape healing.
 Dim HybShpHealTangencyObjective As Length
 Set HybShpHealTangencyObjective = HybShpHealing.TangencyObjective
 

Methods


o Sub AddBodyToHeal( iBody)
Adds the body to be healed to the list.
Parameters:
Body
Reference to the body to be added to the list.
Example:
This example adds the body to the list. of the HybShpHealing hybrid shape healing.
 HybShpHealing.AddBodyToHeal refBody 
 
o Sub AddEdgeToKeepSharp( iEdge)
Adds the edge to be kept sharp while healing, to the list.
Parameters:
Edge
Reference to the Edge to be kept sharp
Example:
This example adds the Edge to the list of Edges to be kept sharp. of the HybShpHealing hybrid shape healing.
 HybShpHealing.AddEdgeToKeepSharp refEdge 
 
o Sub AddElementsToFreeze( iElement)
Adds the body to be freezed while healing, to the list.
Parameters:
Element
Reference to the element to be freezed.
Example:
This example adds the body to the list of bodies to be freezed. of the HybShpHealing hybrid shape healing.
 HybShpHealing.AddElementsToFreeze refElement 
 
o Func GetBodyToHeal( iPosition) As
Returns the body to be healed from the list at specified position.
Parameters:
Position
Position at which the body is to be obtained
Body
Reference to the body obtained at specified position.
Example:
This example gets the body from the list by specifying the position. of the HybShpHealing hybrid shape healing.
 set refBody = HybShpHealing.GetBodyToHeal  1 
 
o Func GetEdgeToKeepSharp( iPosition) As
Returns the edge to be kept sharp from the list at specified position.
Parameters:
Position
Position at which the element is to be obtained
Edge
Reference to the element obtained at specified position.
Example:
This example gets the Edge from the list of Edges to be kept sharp by specifying the position of the HybShpHealing hybrid shape healing.
 set refEdge = HybShpHealing.GetEdgeToKeepSharp  1  
 
o Func GetElementToFreeze( iPosition) As
Returns the element to be freezed from the list at specified position.
Parameters:
Position
Position at which the element is to be obtained
Element
Reference to the element obtained at specified position.
Example:
This example gets the element from the list of bodies to be freezed by specifying the position of the HybShpHealing hybrid shape healing.
 set refElement = HybShpHealing.GetElementToFreeze  1 
 
o Sub RemoveBodyToHeal( iPosition)
Removes the body to be healed from the list at specified position.
Parameters:
iPosition
Position at which the body is to be removed
Example:
This example removes the body from the list at specifying the position. of the HybShpHealing hybrid shape healing.
 HybShpHealing.RemoveBodyToHeal  1  
 
o Sub RemoveEdgeToKeepSharp( iPosition)
Removes the edge from the list of edges to be kept sharp at specified position.
Parameters:
iPosition
Position at which the edge is to be removed
Example:
This example removes the edge from the list at specified position. of the HybShpHealing hybrid shape healing.
 HybShpHealing.RemoveEdgeToKeepSharp  1  
 
o Sub RemoveElementToFreeze( iPosition)
Removes the element from the list of elements to be freezed at specified position.
Parameters:
Position
Position at which the element is to be removed
Example:
This example removes the element from the list at specifying the position. of the HybShpHealing hybrid shape healing.
 HybShpHealing.RemoveElementToFreeze  1  
 
o Sub ReplaceToHealElement( iIndex,
iNewHeal)
Replaces an element to heal.
Parameters:
iIndex
The position of the element to replace.
iNewHeal
The new element.
o Sub SetDistanceObjective( iDistanceObjective)
Sets the distance objective for healing entity.
Parameters:
DistanceObjective
Parameter containg the value of the distance objective to be set.
Example:
This example sets the distance objective for the healing of the HybShpHealing hybrid shape healing.
 HybShpHealing.SetDistanceObjective 2.5 
 
o Sub SetMergingDistance( iMergingDistance)
Sets the Merging distance for healing entity.
Parameters:
MergingDistance
Parameter containg the value of the merging distance to be set.
Example:
This example sets the merging distance for the healing of the HybShpHealing hybrid shape healing.
 HybShpHealing.SetMergingDistance 2.5 
 
o Sub SetSharpnessAngle( iSharpnessAngle)
Sets the Sharpness Angle for healing entity.
Parameters:
SharpnessAngle
Parameter containg the value of the Sharpness Angle to be set.
Example:
This example sets the Sharpness Angle for the healing of the HybShpHealing hybrid shape healing.
 HybShpHealing.SetSharpnessAngle 2.5 
 
o Sub SetTangencyAngle( iTangencyAngle)
Sets the distance objective for healing entity.
Parameters:
TangencyAngle
Parameter containg the value of the Tangency Angle to be set.
Example:
This example sets the Tangency Angle for the healing of the HybShpHealing hybrid shape healing.
 HybShpHealing.SetTangencyAngle 2.5 
 
o Sub SetTangencyObjective( iTangencyObjective)
Sets the tangency objective for healing entity.
Parameters:
TangencyObjective
Parameter containg the value of the Tangency Objective to be set.
Example:
This example sets the Tangency Objective for the healing of the HybShpHealing hybrid shape healing.
 HybShpHealing.SetTangencyObjective 2.5 
 

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