All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgMachiningProcessInstantiate

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

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


interface CATIMfgMachiningProcessInstantiate

Interface to manage Machining Processes.


Method Index


o Check(CATBaseUnknown_var&,CATBaseUnknown_var&)
Checks the Machining Process according to the context.
o GetInstantiatedActivities(CATListValCATBaseUnknown_var&,CATListValCATBaseUnknown_var**&)
Returns the instantiated activities and the list of compatible tools for each one.
o Instantiate(CATBaseUnknown_var&,CATBaseUnknown_var&,CATBaseUnknown_var&)
Instantiates the Machining Process.
o SetToolsListCreationMode(int)
Sets the generation of tools list for each instantiated operation.

Methods


o Check
public virtual HRESULT Check( const CATBaseUnknown_var& iInsertionLevel,
const CATBaseUnknown_var& iFeature=NULL_var)=0
Checks the Machining Process according to the context. The context depends of the insertion level included in a program and the feature (optional).
Parameters:
iInsertionLevel
The insertion level (Program, Operation, Auxiliary command)
iFeature
(optional) The feature on which the Machining Process is instantiated
Returns:
S_OK : The check is true S_FALSE : The check is false Other value : The check leads to an error (syntaxical or other)
o GetInstantiatedActivities
public virtual HRESULT GetInstantiatedActivities(CATListValCATBaseUnknown_var& oInstantiatedActivities,
CATListValCATBaseUnknown_var**& opToolsList)=0
Returns the instantiated activities and the list of compatible tools for each one.
Parameters:
oInstantiatedActivities
The list of instantiated (created) activities
o Instantiate
public virtual HRESULT Instantiate( const CATBaseUnknown_var& iInsertionLevel,
const CATBaseUnknown_var& iFeature=NULL_var,
const CATBaseUnknown_var& iProduct=NULL_var)=0
Instantiates the Machining Process. It takes into account the insertion level and the feature.
Parameters:
iInsertionLevel
The insertion level (Program, Operation, Auxiliary command)
iFeature
(optional) The feature on which the Machining Process is instantiated
iProduct
(optional) The product associated to the feature
o SetToolsListCreationMode
public virtual HRESULT SetToolsListCreationMode(int iCreateToolsList)=0
Sets the generation of tools list for each instantiated operation.
Parameters:
iCreateToolsList
The tool list creation flag : 0 => only one tool is created, 1 => all possible tools are created 2 => possible tools from the first successful tooling query are created

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

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