MachiningUseItf Interface DELIMfgPattern
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface DELIMfgPattern
Interface to define and manage the manufacturing pattern.
Method Index
- o
ActivatePoint(int)
- Activates a point of a Manufacturing Pattern.
- o
AddPosition(CATBaseUnknown_var&,CATBaseUnknown_var&,int)
- Adds a position to the Manufacturing Pattern.
- o
DeactivatePoint(int)
- Deactivates a point of a Manufacturing Pattern.
- o
DefineFormula(CATUnicodeString&)
- Defines a geometrical expression as Position.
- o
GetAbnormalPositions(CATListOfInt&)
- Retrieve the invalid positions in the Manufacturing Pattern.
- o
GetLocalToolAxis(int,CATMathVector&)
- Retrieve the local tool axis of a point of a Manufacturing Pattern.
- o
GetNumbers(CATListOfInt&)
- Retrieve the number of the points of a Manufacturing Pattern.
- o
GetPointsAndAxis(CATMathSetOfPoints&,CATMathSetOfVectors&,CATListOfDouble&)
- Retrieve all the points and axis of a Manufacturing Pattern.
- o
GetPosition(int,CATBaseUnknown_var&)
- Retrieve the position of the given index in the Manufacturing Pattern.
- o
GetPositions(CATListValCATBaseUnknown_var&,CATListValCATBaseUnknown_var&)
- Retrieve all the positions to the Manufacturing Pattern.
- o
PutToolAxisStrategy(CATUnicodeString)
- Sets the Tool Axis Strategy of a Manufacturing Pattern.
- o
SetLocalToolAxis(int,CATMathVector&)
- Sets a local tool axis to a point of a Manufacturing Pattern.
Methods
o ActivatePoint
public virtual ActivatePoint( | | iPointNumber) |
-
Activates a point of a Manufacturing Pattern.
- Parameters:
-
- iPointNumber
- The number of the point to activate.
- Example:
- The following example activates the point number 2 of the
manufacturing pattern mfgPattern:
call mfgPattern.ActivatePoint(2)
o AddPosition
public virtual AddPosition( | const | iPosition, |
| const | iProduct, |
| | iNotify) |
-
Adds a position to the Manufacturing Pattern.
- Parameters:
-
- iPosition
- The position to be added.
Legal values: The position can be a
- Design Hole
- the point is the origin point of the hole
- Design Pattern
- points are retrieved from the design pattern
- Point
- the point coordinates are retrieved from the added point
- Circle
- the point is the center of the circle
- iProduct
- The product containing the position to add.
- iNotify
- The flag to specify if a refresh of the visualization is needed.
Usually, this parameter is set to 1. In the case of a loop, it should be set to 1
only on the last call of the method.
Legal values: The parameter can be
- 0
- no notification is sent
- 1
- a notification is sent
- Example:
- The following example adds the position 'DesignPattern1' to the
manufacturing pattern mfgPattern:
call mfgPattern.AddPosition(DesignPattern1,Product1,1)
o DeactivatePoint
public virtual DeactivatePoint( | | iPointNumber) |
-
Deactivates a point of a Manufacturing Pattern.
- Parameters:
-
- iPointNumber
- The number of the point to deactivate.
- Example:
- The following example deactivates the point number 2 of the
manufacturing pattern mfgPattern:
call mfgPattern.DeactivatePoint(2)
o DefineFormula
public virtual DefineFormula( | const | iExpression) |
-
Defines a geometrical expression as Position.
- Parameters:
-
- iExpression
- Geometrical Expression to define.
o GetAbnormalPositions
public virtual GetAbnormalPositions( | | oPositions) |
-
Retrieve the invalid positions in the Manufacturing Pattern.
- Parameters:
-
- oPositions
- Indexes (considering in the final order) of the invalid positions found,
that means that the corresponding geometry can not been found.
o GetLocalToolAxis
public virtual GetLocalToolAxis( | const | iPointNumber, |
| | oVector) |
-
Retrieve the local tool axis of a point of a Manufacturing Pattern.
- Parameters:
-
- iPointNumber
- The number of the point on which the tool axis is set.
- oVector
- Vector corresponding to the tool axis.
o GetNumbers
public virtual GetNumbers( | | oNumbers) |
-
Retrieve the number of the points of a Manufacturing Pattern.
- Parameters:
-
- oNumbers
- The numbers of the points of the pattern.
o GetPointsAndAxis
public virtual GetPointsAndAxis( | | oPoints, |
| | oLocalAxis, |
| | oOffsets) |
-
Retrieve all the points and axis of a Manufacturing Pattern.
- Parameters:
-
- oPoints
- Points.
- oLocalAxis
- Axis on each point.
- oOffsets
- Offset on each point.
o GetPosition
public virtual GetPosition( | const | iIndex, |
| | oPosition) |
-
Retrieve the position of the given index in the Manufacturing Pattern.
- Parameters:
-
- iIndex
- Index of the position to consider.
- oPosition
- Position found.
o GetPositions
public virtual GetPositions( | | oPositions, |
| | oProducts) |
-
Retrieve all the positions to the Manufacturing Pattern.
- Parameters:
-
- oPositions
- Positions in the pattern.
- oProducts
- Products containing each position.
o PutToolAxisStrategy
public virtual PutToolAxisStrategy( | const | iStrat) |
-
Sets the Tool Axis Strategy of a Manufacturing Pattern.
Legal values: The parameter name can be
- Fixed
-
- Variable
-
- NormalToPS
-
o SetLocalToolAxis
public virtual SetLocalToolAxis( | | iPointNumber, |
| const | iVector) |
-
Sets a local tool axis to a point of a Manufacturing Pattern.
- Parameters:
-
- iPointNumber
- The number of the point on which the tool axis is set .
- iVector
- Vector corresponding to the tool axis.
This object is included in the file: DELIMfgPattern.h
If needed, your Imakefile.mk should include the module: MachiningUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.