All Frameworks  Object Hierarchy  This Framework  Indexes   

ManufacturingCopyTransformation (Object)

Interface representing the Manufacturing Copy Transformation object.

Role: Component that implements CATIAManufacturingCopyOrder is MfgCopyOrder. This interface allows to modify the Copy Tranformation and to get the start and end points of the computed trajectory.

Method Index

AddOperation
Add a Manufacturing Operation to a Copy Transformation.
GetTrajectoryEndPointCoord
Retrieves the Manufacturing Copy Order trajectory end point.
GetTrajectoryStartPointCoord
Retrieves the Manufacturing Copy Order Operation's trajectory start point.
SetCopyTransformationTranslationAttributes
Set the 'Translation Type', 'Distance Along X', 'Distance Along Y' and 'Distance Along Z' of a Copy Tranformation which has a Translation as transformation.
SetCopyTransformation
Set the 'Number of Copies', 'Ordering' and 'Transformation Type' of a Copy Tranformation.

Methods


o Sub AddOperation( iManufacturingActivity)
Add a Manufacturing Operation to a Copy Transformation.
Example:
The following example adds a manufacturing operation myOperation, as a reference for the Copy Transformation CopyTransformation
 call myOperation.AddOperation(CopyTransformation)
o Sub GetTrajectoryEndPointCoord( oEndPoint)
Retrieves the Manufacturing Copy Order trajectory end point.
Example:
The following example retrieves in oEndPoint the end point of the Manufacturing Copy Order CopyOrder
 Dim oEndPoint(3)
 call CopyOrder.GetTrajectoryEndPointCoord(oEndPoint)
 x = oEndPoint(0)
 y = oEndPoint(1)
 z = oEndPoint(2)
 
o Sub GetTrajectoryStartPointCoord( oStartPoint)
Retrieves the Manufacturing Copy Order Operation's trajectory start point.
Example:
The following example retrieves in oStartPoint the start point of the Machining Operation Operation
 Dim oStartPoint(3)
 call Operation.GetTrajectoryStartPointCoord(oStartPoint)
 x = oStartPoint(0)
 y = oStartPoint(1)
 z = oStartPoint(2)
 
o Sub SetCopyTransformationTranslationAttributes( iTranslationType,
iDistanceAlongX,
iDistanceAlongY,
iDistanceAlongZ)
Set the 'Translation Type', 'Distance Along X', 'Distance Along Y' and 'Distance Along Z' of a Copy Tranformation which has a Translation as transformation.
Parameters:
iTranslationType
Legal values: iTranslationType can be
"AbsoluteCoordinates"
"CurrentCoordinates"
iDistanceAlongX
distance along X in mm.
iDistanceAlongY
distance along Y in mm.
iDistanceAlongZ
distance along Z in mm.
Example:
The following example does that for the Copy Transformation CopyTransformation :
 call CopyTransformation.SetCopyTransformationTranslationAttributes("AbsoluteCoordinates", 0.0, 100.0, 0.0)
o Sub SetCopyTransformation( iNumberOfCopies,
iOrdering,
iTransformationType)
Set the 'Number of Copies', 'Ordering' and 'Transformation Type' of a Copy Tranformation.
Parameters:
iOrdering
Legal values: iOrdering can be
"EachOperationNTime"
"AllOperationsNTime"
iTransformationType
Legal values: iTransformationType can be
"Translation"
"Rotation"
"Mirror"
"AxisToAxis"
"Scale"
"Affinity"
"Matrix"
Example:
The following example does that for the Copy Transformation CopyTransformation :
 call CopyTransformation.SetCopyTransformation(iNumberOfCopies, "EachOperationNTime", "Translation")

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