All Frameworks Class Hierarchy This Framework Previous Next Indexes
ManufacturingInterfaces Interface CATIMfgTPPackable
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIMfgTPPackable
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMfgTPPackable
Interface usefull to transfer points of the tool path in an external file, rather than keeping them
in the model.
The action of transfer in an external file is named Packing. You must unpack the tool path
to get it again in the document.
Role: Transfer points of the tool path in an external file.
Method Index
- o
IsPackable(int&)
- Tell if the tool path can be packed.
- o
IsPacked(int&)
- Tell if the tool path is packed or not.
- o
PackToolPath(CATUnicodeString&)
- Pack a tool path.
- o
UnpackToolPath()
- Unpack a tool path.
Methods
o IsPackable
public virtual CATBoolean IsPackable( | int& | imode) = 0 |
-
Tell if the tool path can be packed. A tool path can be packed if it contains one and only one MfgTpMultipleMotion
- Parameters:
-
- imode
-
Legal values:
- imode = 0 : tool path cannot be packed
- imode = 1 : tool path can be packed
o IsPacked
public virtual CATBoolean IsPacked( | int& | istatut) = 0 |
-
Tell if the tool path is packed or not.
- Parameters:
-
- istatut
-
- istatut = 0 : tool path is not packed
- istatut = 1 : tool path is packed
o PackToolPath
-
Pack a tool path.
- Parameters:
-
- iPath
- Path of the file which will be used for packing.
- Returns:
- Return code.
Legal values:
- TRUE: packing has succeeded
- FALSE: packing has failed
o UnpackToolPath
-
Unpack a tool path.
- Returns:
- Return code.
Legal values:
- TRUE: unpacking has succeeded
- FALSE: unpacknig has failed
This object is included in the file: CATIMfgTPPackable.h
If needed, your Imakefile.mk should include the module: MfgItfEnv