All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgProgramISOFile

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMfgProgramISOFile
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIMfgProgramISOFile

Interface implemented on the Manufacturing Program.
The rule of this interface is to manage access to ISO file for simulation.


Method Index


o CloseSession()
Closing of working session (to call at the end of the use of this interface).
o GetISORecord(int,CATUnicodeString&,int)
Retrieves an ISO record in the ISO file.
o GetIndexforMO(CATBaseUnknown_var&,int&,int&)
Retrieves the value of start line and end line in the ISO file for a Manufacturing Operation.
o GetNumberOfISORecords(int&,int)
Retrieves the total number of ISO records.
o InitSession()
Initialization of working session (to call at the beginning of the use of this interface).
o SetIndexforMO(CATBaseUnknown_var&,int,int)
Sets an ISO record from the ISO file.

Methods


o CloseSession
public virtual HRESULT CloseSession()= 0
Closing of working session (to call at the end of the use of this interface).
o GetISORecord
public virtual HRESULT GetISORecord(int iLine,
CATUnicodeString& oISORecord,
int iFileId=0) = 0
Retrieves an ISO record in the ISO file.
Parameters:
iLine
The number of the line in the ISO file
oISORecord
The value of the ISO record
FileId
The id of the file in the ISO File List
o GetIndexforMO
public virtual HRESULT GetIndexforMO( const CATBaseUnknown_var& iMO,
int& oStartLine,
int& oEndLine) = 0
Retrieves the value of start line and end line in the ISO file for a Manufacturing Operation.
Parameters:
iMO
The Manufacturing Operation
oStartLine
The start line in the ISO file
oEndLine
The end line in the ISO file
o GetNumberOfISORecords
public virtual HRESULT GetNumberOfISORecords(int& oNumberOfISORecords,
int iFileId=0) = 0
Retrieves the total number of ISO records.
Parameters:
oNumberOfISORecords
The total number of ISO records
FileId
The id of the file in the ISO File List
o InitSession
public virtual HRESULT InitSession()= 0
Initialization of working session (to call at the beginning of the use of this interface).
o SetIndexforMO
public virtual HRESULT SetIndexforMO( const CATBaseUnknown_var& iMO,
int iStartLine,
int iEndLine) = 0
Sets an ISO record from the ISO file.
Parameters:
iMO
The machining operation that covers the ISO block
iStartLine
The number of the start line in the ISO file
iEndLine
The number of the end line in the ISO file

This object is included in the file: CATIMfgProgramISOFile.h
If needed, your Imakefile.mk should include the module: MfgItfEnv

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