Role: To access the data of the hybrid shape Unfold feature object. This data includes:
- The shell to unfold
- The edges to tear
Use the CATIAHybridShapeFactory to create a HybridShapeUnfold object.
- See also:
Properties
- Property DirectionToUnfold() As
- Returns or sets the direction to unfold.
- Property EdgeToTearPositioningOrientation() As
-
Returns or sets the positioning orientation when the reference origin is located on an edge to tear.
- 0= The orientation is undefined
- 1= The orientation is the default one
- 2= The orientation is inversed
- Property OriginToUnfold() As
- Returns or sets the origin to unfold.
- Property SurfaceToUnfold() As
-
Returns or sets the surface to unfold.
Sub-element(s) supported (see object): , and .
- 0= The type of surface is not defined
- 1= The type of surface is ruled
- 2= The type of surface is all
- Parameters:
-
- oDir
- return value for CATScript applications, with (IDLRETVAL) function type dd>
- See also:
- Returns:
- HRESULT S_OK if Ok E_FAIL else return error code for C++ Implementations dd>
- See also:
- 0= No axis inversion
- 1= U inversion axis
- 2= V inversion axis
- 3= U inversion axis and V inversion axis
- 4= U inversion axis and swap U and V axis
- 5= V inversion axis and swap U and V axis
- 6= U inversion axis, V inversion axis and swap U and V axis
- 7= Swap U and V axis
- Parameters:
-
- oElem
- return value for CATScript applications, with (IDLRETVAL) function type dd>
- See also:
- Returns:
- HRESULT S_OK if Ok E_FAIL else return error code for C++ Implementations dd>
- See also:
Sub-element(s) supported (see object):
Methods
- Sub AddEdgeToTear( iElement)
-
Adds an edge to tear.
- Parameters:
-
- iEdge
- The edge to tear to add to the hybrid shape feature object.
Sub-element(s) supported (see object):
- Examples:
-
The following example adds the
iElementfeature object to theHybridShapeUnfoldobject.HybridShapeUnfold.AddEdgeToTear iElement
dd>
- Parameters:
-
- iElement
- Specification to transfer dd>
- iTypeOfTransfer
- type of tranfer
- 0= No transfer mode specified
- 1= Folded to unfolded
- 2= Unfolded to folded
- Parameters:
-
- iRank
- The rank of the element to read.
- Examples:
-
The following example gets the
oElementfeature object of theHybridShapeUnfoldobject at the positioniRank.Dim oElement As Reference Set oElement = HybridShapeUnfold.GetEdgeToTear (iRank).
dd>
- Parameters:
-
- iRank
- the position of the specification to get dd>
- opElement
- Specification to transfer dd>
- oTypeOfTransfer
- type of tranfer
- 0= No transfer mode specified
- 1= Folded to unfolded
- 2= Unfolded to folded
- Parameters:
-
- iRank
- The rank of the element to remove.
- Examples:
-
The following example removes the feature object from the
HybridShapeUnfoldobject at the positioniRank.HybridShapeUnfold.RemoveEdgeToTear iRank.
dd>
- Parameters:
-
- iRank
- the position of the specification to remove dd>
- Parameters:
-
- iRank
- the position of the specification to replace dd>
- iElement
- the specification to transfer to append. dd>