HybridShapePositionTransfo (Object)

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

Use the CATIAHybridShapeFactory to create a HybridShapePositionTransfo object.

See also:

Properties


Property InitialDirectionComputationMode() As
Gets or sets the computation mode of the X axis (or direction) of the initial axis system.
Parameters:
oDirCompMode
computation mode = 0 : no X axis specified = 1 : the X axis is implicitly the tangent of the profile at the origin(the origin then HAS to be on the profile). = 2 : the X axis is specified by a direction by SetPositionDirection(1,UserInputDirection).
Property Mode() As
Returns or sets the positioning mode.
Legal values:
CATGSMPositionMode_NoneOrPositioned
No positioning
CATGSMPositionMode_ExplicitSweep
The explicit profile is to be moved from its initial plane to the first sweep plane
CATGSMPositionMode_Develop
=== DO NOT USE IN THIS VERSION === planar wire is to be positioned in its initial plane; target origin corresponds to the zero-deformation point on the support surface (target axes are defined by the parameterization of the support surface)
Property Profile() As
Returns or sets the profile to be positioned.

Methods


Func GetNbPosAngle() As
Gets the number of numerical positioning parameters : first axis direction angles.
Parameters:
oI
Number of parameters
Func GetNbPosCoord() As
Gets the number of numerical positioning parameters : origin planar coordinates.
Parameters:
oI
Number of parameters
Func GetPosAngle( iI) As
Returns angles of both initial and target coordinate systems from default positions.
Parameters:
iI
The index of numerical positioning angles in initial (value 1) or target (value 2) axis system.
oAngle
The angle value.
Func GetPosCoord( ii) As
Returns translation coordinates if both initial and target coordinate systems from default positions.
Parameters:
iI
The iIndex of numerical positioning coordinates in initial (value 1 or 2) or target (value 3 or 4) coordinate system.
oCoordinate
The coordinate value
Func GetPosPoint( ii) As
Returns the points designated as the origins of the initial and target planes.
Parameters:
iI
The plane index: 1 for initial one, 2 for target one
oElem
The origin point
Func GetPosSwapAxes( ii) As
Returns axis inversion from previous definitions for both initial and target planes.
Parameters:
iI
The coordinate system index: 1 for initial one, 2 for target one
oInversion
The inversion value:
CATGSMAxisInversionMode_None
No axis inverted
CATGSMAxisInversionMode_X
Only the X axis iq inverted
CATGSMAxisInversionMode_Y
Only the Y axis is inverted
CATGSMAxisInversionMode_Both
Both axes inverted
Func GetPositionDirection( iI) As
Returns the positioning directions.
The positioning direction can be initial or target plane X-axis direction.
Parameters:
iI
The plane index: 1 for initial one, 2 for target one
oElem
The direction element
Sub RemoveAllPosAngle()
Removes all numerical positioning parameters : first axis direction angles.
Sub RemoveAllPosCoord()
Removes all numerical positioning parameters : origin planar coordinates.
Sub SetPosAngle( iI, iAngle)
Sets angles of both initial and target coordinate systems.
Parameters:
iI
The index of numerical positioning angles in initial (value 1) or target (value 2) axis system.
iAngle
The angle value.
Sub SetPosCoord( iI, iCoordinate)
Sets translation coordinates of both initial and target coordinate systems.
Parameters:
iI
The iIndex of numerical positioning coordinates in initial (value 1 or 2) or target (value 3 or 4) coordinate system.
iCoordinate
The coordinate value
Sub SetPosPoint( iI, iElem)
Sets the points designated as the origins of the initial and target planes.
Parameters:
iI
The plane index: 1 for initial one, 2 for target one
iElem
The origin point
Sub SetPosSwapAxes( ii, iInversion)
Sets axis inversion from previous definitions for both initial and target planes.
Parameters:
iI
The coordinate system index: 1 for initial one, 2 for target one
iInversion
The inversion value:
CATGSMAxisInversionMode_None
No axis inverted
CATGSMAxisInversionMode_X
Only the X axis iq inverted
CATGSMAxisInversionMode_Y
Only the Y axis is inverted
CATGSMAxisInversionMode_Both
Both axes inverted
Sub SetPositionDirection( iI, iElem)
Sets the positioning directions.
The positioning direction can be initial or target plane X-axis direction.
Parameters:
iI
The plane index: 1 for initial one, 2 for target one
iElem
The direction element