Role: To access the data of the hybrid shape position transformation feature object. This data includes:
- The positioning mode
- The profile to be positioned
- The initila and target planes
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). dd>
- 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 dd>
- Func GetNbPosCoord() As
-
Gets the number of numerical positioning parameters : origin planar coordinates.
- Parameters:
-
- oI
- Number of parameters dd>
- 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. dd>
- oAngle
- The angle value. dd>
- 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. dd>
- oCoordinate
- The coordinate value dd>
- 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 dd>
- oElem
- The origin point dd>
- 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 dd>
- 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 dd>
- oElem
- The direction element dd>
- 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. dd>
- iAngle
- The angle value. dd>
- 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. dd>
- iCoordinate
- The coordinate value dd>
- 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 dd>
- iElem
- The origin point dd>
- 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 dd>
- 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 dd>
- iElem
- The direction element dd>